zxul767 / lox

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

make `clox` REPL be able to find `.loxrc` in more locations #13

Open zxul767 opened 1 year ago

zxul767 commented 1 year ago

currently, the settings file .loxrc must be in the current working directory for it to load automatically upon starting the REPL. we should relax this restriction so the file can be in $HOME/.loxrc or in any ancestor directory starting from the current working directory.