-
If so, we can run Janet bytecodes on WASM, without the whole interpretor. If that's possible, would it be faster? If I'm trying to implement such thing, what source files should I look into? If that's not possible, what should an implementation be like to work well with WASM? through LLVM? Thanks a lot! P.S. seems like there's not yet a formal spec for Janet. I hope there will be one soon. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Don't know if you've seen this already, but FWIW there is this issue regarding an official language spec. |
Beta Was this translation helpful? Give feedback.
-
Regarding reading the source, others may have some better tips, but here are some things I found useful (I've been trying to read and understand the source on and off):
(I mention the docs because I've found that they sometimes help in interpreting the source.) I wrote up some steps on getting an LSP server for C working so that code navigation can be done smoothly. Possibly it might be of some use. On a related note, recently I was shown an article on the general topic of trying to understand an existing code base and I found that it had some good tips. There is a janet-language/help gitter channel / matrix room as well (in addition to the discussions area here on github) so it might be that some specific questions could be addressed there. |
Beta Was this translation helpful? Give feedback.
Regarding reading the source, others may have some better tips, but here are some things I found useful (I've been trying to read and understand the source on and off):
(I mention the docs because I've found that they sometimes help in interpreting the source.)
I wrote up some steps on getting an LSP server for C working so that code navigation can be done smoothly. Possibly it might be of some use.
On a related note, recently I was shown an article on the gener…