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

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.

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