Japanese Programming Language as natural as possible. Its Github Page is here.
I wanted non-programmer Japanese(my friends) to realize "thinking about computing is one of the most exciting things the human mind can do (from The Little Schemer)“. Also, I wanted to explain beauty of Japanese language to non-Japanese programmer :)
-
If you're familiar with the book The Little Schemer, most functions in the Chapter 4 "Numbers Games" will work if you can define them properly. meaning you can:
- define function
- call funcation
- do basic numeric calculation(using its underlying language)
Currently, I used Ruby and Javascript to implement its interpreter.
There's japalisp
bash script, please feed example.jpl
to see what it's like(./japalisp example.jpl
).
If you want to contribute to its implementation, please look into ruby
directory.
Under public/js
directory, there're jexer.js
which tokenizes code, and japalisp.js
which interprets the tokens.
Also, REPL in Github Page is using this version.