Sync AWK codegen with bash codegen, fix dict.field assignment
AWK codegen:
- Add string interpolation: "Hello {name}" -> ("Hello " name "!")
- Add env.VAR support via ENVIRON["VAR"]
- Add time.now() via systime()
- Add str.chr() via sprintf("%c", n)
- Add assert_eq() for equality assertions
- Add print() as statement
- Add method calls as statements (arr.push, dict.set)
Bash codegen:
- Fix dict.field = value for dict variables (was using wrong storage)
- Fix dict.field read to use dict["field"] syntax
Showing
Please
register
or
sign in
to comment