Skip to content

kenzan100/japalisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Japalisp

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

Why I made this

I wanted Japanese non-programmers (my friends) to realize that "thinking about computing is one of the most exciting things the human mind can do (from The Little Schemer)". Also, I wanted to explain the beauty of the Japanese language to non-Japanese programmers :)

What it does

  • If you're familiar with the book The Little Schemer, most functions in Chapter 4 "Numbers Games" will work if you can define them properly. meaning you can:

    • define function
    • call funcation
    • do basic numeric calculations (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's jexer.js which tokenizes code, and japalisp.js which interprets the tokens. Also, REPL in Github Page is using this version.

About

Japanese Programming Language as if you're speaking to a real person.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published