Skip to content
/ japalisp Public
forked from kenzan100/japalisp

Japanese Programming Language as natural as possible.

Notifications You must be signed in to change notification settings

fvntr/japalisp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Japanese Programming Language as natural as possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.0%
  • Ruby 5.6%
  • HTML 4.0%
  • CSS 1.9%
  • Yacc 0.5%