https://github.com/megabytesofrem/lune
Small compiled language with a procedural C style syntax.
https://github.com/megabytesofrem/lune
csharp programming-language
Last synced: 10 months ago
JSON representation
Small compiled language with a procedural C style syntax.
- Host: GitHub
- URL: https://github.com/megabytesofrem/lune
- Owner: megabytesofrem
- Created: 2021-11-24T20:06:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T21:44:58.000Z (about 4 years ago)
- Last Synced: 2025-02-05T17:40:37.348Z (12 months ago)
- Topics: csharp, programming-language
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lune
Small language that will eventually compile to C, or maybe machine code.
Progress:
- [x] Lexing
- [ ] Parsing
- [ ] AST generation
## Hello World
```nim
var message : str = "Hello world"
proc main() {
write(message, "\n")
}
```
## Syntax Highlighting
A *very* work in progress VS Code extension is provided under `tool/lune-vscode` which supports
- basic syntax highlighting
- commenting using `Ctrl+/` like any other language
- smart brace folding
## Running
```sh
% dotnet run
```