https://github.com/redsuperbat/neon
Small expression based language
https://github.com/redsuperbat/neon
Last synced: 3 months ago
JSON representation
Small expression based language
- Host: GitHub
- URL: https://github.com/redsuperbat/neon
- Owner: redsuperbat
- Created: 2024-08-17T16:48:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T21:31:05.000Z (over 1 year ago)
- Last Synced: 2025-01-28T22:27:22.628Z (over 1 year ago)
- Language: Rust
- Size: 7.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neon
- [Neon](#neon)
- [Features](#features)
- [Todo](#todo)
Expression based language written in rust 🦀
I am working on this language in my free time. This is a passion project and wont by most means lead to anything.
The aim is to make a 100% async runtime without the need to mark functions/methods as async.
All functions are async, nothing is sync. This will be done in order to avoid the red/blue function problem
## Features
- Higher order functions
- Math operators
- If statements
- Recursion
- Immutable variables
- Type Checker
Feel free to try it out in the [playground](https://redsuperbat.github.io/neon/)
Everything is made from scratch, the neon_core library has no dependencies and the syntax highlighting is custom made by interpreting the tokens and adding decorations to the monaco editor.

## Todo
- [ ] Mathematical operator precedence
- [ ] Module system
- [ ] Lua compiler
- [ ] Structs and methods
- [ ] Async runtime
- [ ] IO std lib
- [ ] String interpolation
- [ ] Object property assignment
- [x] Type syntax for functions