You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connection.query(sql, params): Executes queries and returns an Array of Objects.
Connection.close(): Manually closes connections.
Loop Support:
Implemented for .. in .. loop syntax in the parser and interpreter.
Implemented while loop syntax for conditional iteration.
SQLite Demo: Added examples/sqlite_demo.pel to showcase database usage.
Improved
Type System:
Added support for Heterogeneous Arrays (e.g., ["Alice", 95.5, true]). The type checker now falls back to Unknown for mixed-type lists instead of erroring out.
Robust String Concatenation: The + operator now supports concatenating String with any other type (Int, Float, Bool, Void, etc.) by automatically stringifying the right-hand/left-hand sides.
Standard Library Registration: Unified sqlite registration across the runtime interpreter and the type checker.
Fixed
Fixed a parser bug where For and While keywords were present in the lexer but caused "Unexpected token" errors during parsing.
Resolved type mismatch errors when printing mixed database results.