Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
timruffles
on Feb 14, 2019
|
parent
|
context
|
favorite
| on:
Architecture for a JavaScript to C compiler
I went for longjmp(), non-local goto, for precisely the reason you highlighted: I realised pretty well everything in JS can throw, so needed something easy to trigger from anywhere
See
https://github.com/timruffles/js-to-c/blob/1befbf4220753576e...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
See https://github.com/timruffles/js-to-c/blob/1befbf4220753576e...