tsoding / porth

It's like Forth but in Python
629 stars 50 forks source link

Invalid syntax with MEM_CAPACITY = 640_000 #131

Open ghost opened 2 years ago

ghost commented 2 years ago

When downloading the code and then doing the Quickstart, instead of working, it prints out: File "porth.py", line 18 MEM_CAPACITY = 640_000 # should be enough for everyone ^ SyntaxError: invalid syntax This also happens for: SIM_STR_CAPACITY = 640_000 SIM_ARGV_CAPACITY = 640_000

Note: Because I'm using Windows, I am using a Ubuntu emulator found in the Windows Store

rexim commented 2 years ago

@TNTMaster58 what version of python do you use?

ghost commented 2 years ago

I currently use python version 3.9.7

kolumb commented 2 years ago

BTW, I installed Debian from Windows Store, it has python version 3.7.3, works fine: python3