Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
trygvis
on Jan 21, 2018
|
parent
|
context
|
favorite
| on:
A Simple Compiler in JavaScript
Aaw, this would have been great if it didn't use `eval`, but just executed `+`, `-` etc directly.
packetslave
on Jan 21, 2018
[–]
It doesn't use the built-in eval(). There's a local function in the code named "eval" that executes the operation -- not the best choice of names, really.
trygvis
on Jan 21, 2018
|
parent
[–]
Oops, guess I read it a bit too fast.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: