Python Compiler
h
CSharpIsGud (392)

A real python compiler!

For now it only supports a small amount of the syntax.

This compiler compiles python directly to C, which then gets compiled to a native executable(which means its much MUCH faster than normal python).

Only variables, if statements and function calls are implemented right now.

Currently I just have it running a small program that tells you if two numbers add up to a target number

You are viewing a single comment. View All
sugarfi (462)

You should just compile to asm directly instead of generating C. Also it might be better to use Python bytecode instead of raw Python source. Cool though!