Logo
Explore Help
Register Sign In
admin/j-lang
1
0
Fork 0
You've already forked j-lang
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
a36e52a9c33c809584fb3a21801a61f8a5064b15
j-lang/projects/functions.j

11 lines
108 B
Plaintext
Raw Normal View History

Replace print/println keywords with generic function call mechanism - Add NODE_CALL with name, args, and arg_count to parser - Add TOK_COMMA token and tokenize (, ), , in lexer - Remove TOK_PRINT/TOK_PRINTLN keywords; print/println are now regular identifiers resolved as built-in functions in the evaluator - Add NODE_CALL debug output in ast_print
2026-02-16 18:14:39 +01:00
x = "Hello world!"
y = 21
println()
println(x)
print("y=")
println(y)
dummy()
if y > 1:
println("OK!")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 32ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API