Results 44 comments of saikyun

Oh, hmm. I need to try myself with two screens Den fre 3 sep. 2021 14:35sogaiu ***@***.***> skrev: > I tried this, but I get strange behavior: > > 1....

Perhaps for now that item should only be visible when editing a janet-file. If someone adds more ways to format files, maybe one could make the menu item generic. :)

Added the available emitters here, and docs on the most commonly used ones. Need to write a bit about callbacks, then it should be ok. https://github.com/Saikyun/freja/commit/3766b9ca51dab9097d3161de0e9765b1449d9adf#diff-672cb87f3f83f5a30edd82e1cf416ee5b90a1a315a9bdc6f63951ec5dcc50e5d

By changing to absolute import, like this: ````` (spit "project.janet" `` (declare-project :name "runthing" :dependencies ["https://github.com/janet-lang/circlet"]) (declare-executable :name "runthing" :entry "native-thing.janet") ``) (spit "native-thing.janet" ```` (defn main [& args] (spit...

Could anyone give me some tips on how to debug this? I'd like to work more on this (specifically with cgen), but I don't really know where to start. :)

Maybe not much to go on, but running the `runthing.exe` using windbg shows me an error that isn't showing when just running the .exe. No clue if it's helpful or...

I guess a solution is to create a var and set it inside main instead then. That feels a bit off though.

I understand why this happens, but the question is does it have to happen or should (fresh) channels be marshallable?

Imo the issue arises when you're new and have no clue why this error occurs. I don't think it's strange that someone would put a global `ev/chan` somewhere. Perhaps it...

Would it be possible then to show where in the code the marshalling breaks? I think either solution would be fine. Den lör 24 juli 2021 19:54Calvin Rose ***@***.***> skrev:...