WA, USA
tryin' to catch the last train out of Omelas
enhancement added by ~technomancy on ~technomancy/fennel
Comment by ~technomancy on ~technomancy/fennel
This is on
main
now!
REPORTED
RESOLVED CLOSEDComment by ~technomancy on ~technomancy/fennel
Yeah, this seems to work now.
REPORTED
RESOLVED CLOSEDComment by ~technomancy on ~technomancy/fennel
I haven't thought this thru all the way, but I think the only way to prevent this is to make it so that
foo#
does not expand tofoo_2_auto
until right before it's emitted as Lua. However, this may cause backwards-incompatibility issues with existing macros.
Ticket created by ~technomancy on ~technomancy/fennel
In order to get tracebacks that work with AOT, we need to be able to dump sourcemaps and use them again later. Putting them in a separate file is the obvious solution but that is not useful when compiling single-file executables. In addition, if the standalone executable does not contain the
fennel
module itself, there's no way to runfennel.traceback
.One potential solution is to extract
fennel.traceback
similarly tofennel.view
and allow it to be included as a standalone module without bringing the entire compiler along with it.This module could also be used as a storage location for sourcemap data. TODO: how does this actually get emitted in the Lua output in a way it can be used? Putting it at the start throws off the line numbers; putting it at he end means it won't be visible until after the code has run.
Comment by ~technomancy on ~xerool/fennel-ls
I've used the hack of just disabling it thru globals; printing during macros now has no effect.
REPORTED
RESOLVED FIXEDbug added by ~technomancy on ~xerool/fennel-ls
Comment by ~technomancy on ~xerool/fennel-ls
REPORTED
RESOLVED NOT_OUR_BUGComment by ~technomancy on ~xerool/fennel-ls
It looks like this has been fixed? lmk if we need to reopen.
REPORTED
RESOLVED FIXED