Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/micheleriva/cadregalisp

🍎 Just another useless programming language, but with inganno.
https://github.com/micheleriva/cadregalisp

compiler esoteric-language haskell haskell-language javascript lisp node programming-language scheme

Last synced: 2 months ago
JSON representation

🍎 Just another useless programming language, but with inganno.

Awesome Lists containing this project

README

        


🍎 CadregaLisp 🍎






There are only two kind of people. Those who wants to write LISP in Brianzolo Dialect and those who lie.


# Getting Started

Clone the repository on your machine and then run the make script

```sh
$ git clone [email protected]:micheleriva/cadregascript.git
$ cd cadregascript
$ make
```

Now you should be able to access the REPL

```sh
$ ./brambilla
🍎 β–Ά (ciapa x 5)
🍎 β–Ά (+ x 10)
15
🍎 β–Ά (ciapa-che! x 10)
🍎 β–Ά (= x 5)
#Γ¨ minga vera
🍎 β–Ά fΓ¨rmes
```

# Grammar

|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>=?` |

# License
[MIT](/LICENSE.md)