Seal is a simple, C-like programming language made for fun.
The name is a pun that comes from having a C-like syntax.
C-like → sea like → seal
This is a work in progress.
The language is inspired by Rust and Haskell.
if
"statements" can be expressions and the returned value can be assigned to a variable. Example:
let number = if (condition) 69 else 420;
The same can be said about while
keyword.
let result = while (i < 10) {
i = i * 10;
i
}
Everything can be scoped. That means the scope itself is an expression and can be used everywhere an expression is expected.
list of features:
- parser
- interpreter
- good error messages
- compiler
- formatter
- language server LSP
- tree-sitter grammar/syntax highlighting