Closed MysteryBlokHed closed 3 years ago
It looks like some of these problems aren't actually Linux-exclusive, I just found them while I was testing on Linux. I'm not sure how a lot of them occurred.
I'm not sure how most of these came up. There were never any problems testing on Windows, and it seems like some of the things added in older pull requests (eg. proper output folder running databind
with no args in #28) have just stopped functioning.
The issue about Windows while loops using full paths as the subfolder prefix was actually just me having a malformed file structure. It might be worth adding some sort of create-namespace
subfunction to databind create
to stop people from making the same mistake I did 🙃
Previously, the issue was:
- [ ] Fix while loops breaking
- [ ] On Windows
On Windows, the while loops function calls seem to insert the entire path to where
an mcfunction would be generated?
On Linux, it looks like the tokenizer still thinks that it's in a while loop after the :endwhile
. I'm trying to fix this now.
It looks like none of the problems were actually Linux-related, I just found them while testing on Linux.
Closed in #37
One main issue to track things that are very broken.
databind
with no arguments, the output folder is created relative to the directory the command was run is as opposed to the root of the project.namespace:/funcname
instead ofnamespace:funcname
).databind
files seem to stop being transpiled after a while loop, and the while loop functions are not generated. I'm not sure what's causing this.