mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Compare commits
2 commits
900c225a12
...
d169670b00
Author | SHA1 | Date | |
---|---|---|---|
Natapat Samutpong | d169670b00 | ||
Natapat Samutpong | f0a1a5140b |
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Hycron
|
||||
Programming language
|
||||
|
||||
```
|
||||
func main :: () -> Int = {
|
||||
let msg :: String = "Hello, World";
|
||||
puts(msg);
|
||||
return 1;
|
||||
};
|
||||
```
|
||||
|
||||
# TODO
|
||||
- Compliation
|
||||
- Optimization
|
||||
- Use [chumsky](https://github.com/zesterer/chumsky) instead of [nom](https://github.com/Geal/nom) for parsing
|
||||
- Error reporting (better with chumsky)
|
|
@ -14,4 +14,5 @@ func main :: () -> Int = {
|
|||
let n :: Bool = 2 == 2;
|
||||
// Prefix operator
|
||||
let m :: Bool = !n;
|
||||
};
|
||||
puts(m);
|
||||
};
|
Loading…
Reference in a new issue