This website requires JavaScript.
Explore
Help
Register
Sign In
admin
/
j-lang
Watch
1
Star
0
Fork
0
You've already forked j-lang
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
da9bb6ca6250bd0bac9ef222387e0fc775c26500
j-lang
/
projects
/
functions.j
3 lines
38 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Allow function calls in expressions and add len() built-in - Parse function calls in parse_term() so they work inside expressions (e.g. z = len(x), y = len(x) + 1) - Add len() built-in for string length in evaluator
2026-02-16 18:31:39 +01:00
x = "Hello"
Add // line comments, grouped parentheses, and NODE_NOP - Parse // comments in parse_statement by consuming tokens until newline - Add NODE_NOP for no-op statements (comments) - Support grouped expressions with parentheses in parse_term
2026-02-16 22:41:52 +01:00
y = 2 * (4 - 2)
println(y)
Reference in New Issue
Copy Permalink