Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/micheleriva/cadregalisp
- Owner: micheleriva
- License: bsd-3-clause
- Created: 2018-03-12T22:46:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T19:58:50.000Z (almost 6 years ago)
- Last Synced: 2024-10-03T12:39:17.097Z (3 months ago)
- Topics: compiler, esoteric-language, haskell, haskell-language, javascript, lisp, node, programming-language, scheme
- Language: Haskell
- Homepage:
- Size: 2.9 MB
- Stars: 35
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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)