• Roman Alifanov's avatar
    Sync AWK codegen with bash codegen, fix dict.field assignment · a8f275f6
    Roman Alifanov authored
    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
    a8f275f6
test_integration.py 43.7 KB