Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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:
`(