differentmatt / filbert

JavaScript parser of Python
Other
133 stars 27 forks source link

'else' without a colon generates valid JavaScript #44

Open differentmatt opened 9 years ago

differentmatt commented 9 years ago
if False: print('false')
else print('true')
if (false) {
    __pythonRuntime.functions.print('false');
}
__pythonRuntime.functions.print('true');