JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q30925F
  • License MIT

educational scripting language / shell with read-eval-print loop

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

    pux - 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.

    /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 nodejs and git installed on the system
    • run the shell: as follows:
    git clone https://github.com/MoserMichael/jscriptparse.git
    cd jscriptparse
    ./pyx

    The 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...)