This website requires JavaScript.
Explore
Help
Register
Sign In
Bruce
/
tomo
Watch
1
Star
0
Fork
0
You've already forked tomo
Code
Issues
Pull Requests
Packages
Projects
Releases
Activity
354ed77535
tomo
/
test
/
extern.tm
6 lines
61 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Change function syntax from `func(args)->ret` to `func(args -> ret)`
2024-10-09 10:26:28 -07:00
extern sqrt:func(n:Num->Num)
Introducing the main() function
2024-04-12 10:09:31 -07:00
Syntax tweak: use ':' for blocks
2024-04-28 11:58:55 -07:00
func main():
Bugfix int parsing
2024-09-02 16:23:35 -07:00
>> sqrt(4)
Make docstring tests use an actual expression AST instead of text matching
2025-03-25 12:40:59 -07:00
= 2.
Reference in New Issue
Copy Permalink