mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
examples
This commit is contained in:
parent
f0a1a5140b
commit
d169670b00
|
@ -1,6 +1,14 @@
|
|||
# Hycron
|
||||
Programming language
|
||||
|
||||
```
|
||||
func main :: () -> Int = {
|
||||
let msg :: String = "Hello, World";
|
||||
puts(msg);
|
||||
return 1;
|
||||
};
|
||||
```
|
||||
|
||||
# TODO
|
||||
- Compliation
|
||||
- Optimization
|
||||
|
|
|
@ -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