Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.25 KB

Japalisp

Japanese Programming Language as natural as possible. Its Github Page is here.

Why I made this

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 :)

What it does

  • 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)

How to use it

Currently, I used Ruby and Javascript to implement its interpreter.

Ruby version

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.

Javascript version

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.