Unless I'm mistaken, all paths given to the
import statement are relative to the file's location.
I'm putting together a little dependency management system for Playdate and it would make cross-dependencies a lot easier if we could also use paths relative to the project root folder. Syntax could be simply something like:
which would convert to
<Path to the Project Folder>/source/test.lua.
Another way to solve this would be to add include paths support for
pdc but it seems like some environments may not make it easy to provide these (via env variable or command line arguments) so this seems like a much easier way to provide the functionality.