Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/not-nik/hue
A lisp-like that can fit into your pocket
https://github.com/not-nik/hue
language lisp lisp-dialect lisp-like programming programming-language
Last synced: 10 days ago
JSON representation
A lisp-like that can fit into your pocket
- Host: GitHub
- URL: https://github.com/not-nik/hue
- Owner: Not-Nik
- License: mit
- Created: 2020-06-24T11:57:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T21:45:57.000Z (over 4 years ago)
- Last Synced: 2025-01-26T15:37:44.646Z (10 days ago)
- Topics: language, lisp, lisp-dialect, lisp-like, programming, programming-language
- Language: C++
- Homepage:
- Size: 65.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hue
A lisp-like that can fit into your pocket## Example
```lisp
(do int
(puts "Hello there")
(int i)
(set i (add 1 2 3))
(if i (do void
(puts "If works")
))
(return i) ; Return i
)
```
Note: the print function is not provided anywhere. It is assumed that the programmer added it after code generation.## Why
Choose Hue because:
* smol: Written less than 200 lines of C++-code
* sped: Generates C-code, the fastest in the universe
* strong, independent: By default code generated by Hue does not have any library dependencies. It can always call C-functions tho.
* familiar errors: As long as you follow basic syntax rules, Hue won't send you any errors. But your C-compiler will.![smol](https://github.com/Not-Nik/HUE/blob/master/mm.jpg)
## Syntax specifics
HUE statements are written like so:
`(