Skip to content
Proton practical programming language
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore listcomp, function multiplication Aug 16, 2017
README.md
default.py
errors.py
interpreter.py
interpreter_utils.py minor fixes Oct 9, 2017
lang.proton
lexer.py
newinterpreter.py
proton
proton_parser.py fix parser bug for dicts by adding 1 Oct 4, 2017
utils.py fixed reduce Oct 6, 2017

README.md

proton

Proton practical programming language

To run, you will need Python 3. All modules used should come with the standard Python distribution (operator, sys, builtins, math, ast, and traceback).

To run a Proton program, just run ./proton <filename> [args...]. If you are on Windows, you may need to change it to proton.py and run it with python proton.py <filename> [args...].

usage: proton [-c <cmd> | -r <recursion_limit> | -h] [file] [args...]
Options:
-c <cmd>: Run <cmd> as Proton code and do not enter the shell
-r <recursion_limit>: Set the recursion limit to <recursion_limit>
-h: Display this help message
If no file name or <cmd> is given, this will enter a Proton shell
You can’t perform that action at this time.