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
clox currently supports relative paths when running files as follows:
make run NAME=../samples/basic_class.lox
we should make jlox support the same. at present it throws this error:
Exception in thread "main" java.nio.file.NoSuchFileException: ../samples/basic_class.lox
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
at java.base/java.nio.file.Files.newByteChannel(Files.java:426)
at java.base/java.nio.file.Files.readAllBytes(Files.java:3272)
at dev.zxul767.lox.Lox.runFile(Lox.java:49)
at dev.zxul767.lox.Lox.main(Lox.java:42)
The text was updated successfully, but these errors were encountered:
clox
currently supports relative paths when running files as follows:we should make
jlox
support the same. at present it throws this error:The text was updated successfully, but these errors were encountered: