There are only two kind of people. Those who wants to write LISP in Brianzolo Dialect and those who lie.
Clone the repository on your machine and then run the make script
$ git clone git@github.com:micheleriva/cadregascript.git
$ cd cadregascript
$ make
Now you should be able to access the REPL
$ ./brambilla
🍎 ▶ (ciapa x 5)
🍎 ▶ (+ x 10)
15
🍎 ▶ (ciapa-che! x 10)
🍎 ▶ (= x 5)
#è minga vera
🍎 ▶ fèrmes
Haskell | Lisp | Cadrega |
---|---|---|
True |
#t |
#è vera |
False |
#f |
#è minga vera |
let |
define |
ciapa |
N/A? |
set! |
ciapa-che! |
(+) |
+ |
e |
(-) |
- |
men |
(*) |
* |
per |
div |
/ |
divis |
mod |
% |
modul |
quot |
quot |
quosient |
rem |
rem |
rest |
== |
= |
stess |
< |
< |
minur |
> |
> |
magiur |
/= |
/= |
minga-istess |
>= |
>= |
magiur-e-istess |
<= |
<= |
minur-e-istess |
&& |
&& |
quindi |
|| |
|| |
senò |
(==) |
string? |
lacc=? |
(<) |
string<? |
lacc<? |
(>) |
string>? |
lacc>? |
(<?) |
string<=? |
lacc<=? |
(>?) |
string>=? |
lacc>=? |