This website requires JavaScript.
Explore
Help
Register
Sign In
SpookyDervish
/
Plasma
Watch
1
Star
0
Fork
0
You've already forked Plasma
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
39cc0429daaad163ec4098067a09ff65111aad62
Plasma
/
tests
/
test.pla
7 lines
93 B
Plaintext
Raw
Normal View
History
Unescape
Escape
function arguments are getting added to the AST!
2025-10-15 07:16:15 +11:00
add = Func(a: Int, b: Int): Int {
return a + b;
wrote test program for functions
2025-10-14 21:34:18 +11:00
}
AST is accepting functions!!!
2025-10-14 07:14:53 +11:00
main = Func(): Int {
function arguments are getting added to the AST!
2025-10-15 07:16:15 +11:00
return add(2, 3);
AST is accepting functions!!!
2025-10-14 07:14:53 +11:00
}
Reference in New Issue
Copy Permalink