Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pyxlang) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pyx scripting language
- the pyx educational programming language / scripting langauge and REPL shell.
This programming language is named after Winnie-the-Pooh, in the Russian translation of Boris Zahoder
The scripting language and interpreter for the pyx language.
- See pyx tutorial (pyxtut)
- See pyx functions by category (pyxfunc)
- see the design document (pyxdesign)
- Example tests scripts are here - see files with extension .p (.out - expected output of the script)
/don't judge the scripting language too harshly, it is my new tinker toy - very much a work in progress/
Running it
- you need to have
nodejsandgitinstalled on the system - run the shell: as follows:
git clone https://github.com/MoserMichael/jscriptparse.git
cd jscriptparse
./pyxThe shell has command completion (tab tab) and a command history (cursor up, cursor down)
Source code
- the interpreter/repl script is here - you need to have node installed for this.
- The parser/syntax tree is built here the runtime for the interpeter is here
what I learned while writing this project
i am learning about interpreted languages (such as python, php, javascript, perl, etc...) Now I keep noticing quite a lot of details, while writing my little interpreter. I am keeping some notes here
The moral: you can learn a lot with this type of project! (i think the important part is to keep notes, otherwise you tend to forget the details...)