zxul767 / lox

An interpreter for the Lox language
1 stars 0 forks source link

make `print` & `println` standard library functions #4

Closed zxul767 closed 1 year ago

zxul767 commented 1 year ago

they started as statements initially because it was important to print things as soon as possible (i.e., before we implemented functions)

zxul767 commented 1 year ago

this has now been implemented in clox

zxul767 commented 1 year ago

this has now been implemented in jlox too (commit: 4ee09a20b4d1dcc423145e6dacf1433b2837f230)