/Hamza-lang

Hamza-lang an Ararbic lisp implementaion in javascript

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

HAMZA (همزه) Lisp-Interpreter in arabic

Using this Implementation of Peter Norvig's Lisp Interpreter in Javascript And inspired by Alb by Ramsey Nasser.

live editor to play around here

examples

(اهلا يا عالم اطبع)
اهلا يا عالم


(10 ((10 متغير *) (متغير) وظيفة))
100


((10 متغير *) (متغير) و توظيفة)
(9 و)
90


((و ((ز هو) و عرف) ابدء)
ز


(10 20 (3 5 >) اذا)
20


((ز ز *) (5 ز عرف) ابدء)
25


((7 7 2 8 مصفوفة) اول)
8


((7 7 2 8 مصفوفة) الباقي)
2,7,7