Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 410 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 410 Bytes

mylang

usage

  • run instructions from .dd file
python3 mylang.py ./examples/avg.dd
  • run instructions from command line argument
python3 mylang.py '1 2 3 ADD PRINT'
  • run REPL mode
python3 mylang.py -r

REPL mode

in REPL mode there are some special commands:

  • memory dump
>>> mem
  • clear memory
>>> cls
  • exit repl
>>> exit