CandyScript is a lightweight yet superfast language for forging small web servers and RestAPIs.
A maintained fork of candyscript
by @benob https://github.com/benob/candyscript
- Line-by-line parser
- One of the fastest web server powered by Nim's
asynchttpserver
- Short and efficient
- No external database service required.
- < 85 lines of Nim code!
- A single binary for everything
- Add backend integration with other languages
- Add multiple database integration
- Use
httpbeast
instead ofasynchttpserver
# this is a comment
GET "/": Hello, World!
Use the Nim compiler nim to compile the Bloom source code.
This code will run your candyscript server.
nim c index.nim
./index your_script.candy
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.