If JavaScript represents its source as a string, and a string is a primitive data type in JS, and eval(string) evaluates a program... 1/
@knardi Shouldn't the AST be defined by what's passed to `(eval source)`? The JS source format is `string`
-
-
@wycats I see what you're saying, but I feel like the important part is the ability to directly manipulate programs at the semantic level. -
@knardi seems like as long as there's read(#<source>) -> #<sexp>, serialize(#<sexp>) -> #<source> and eval(#<source>), same expressiveness -
@wycats I would add one more requirement—that one can easily manipulate #<sexp> to change its semantics -
@knardi sounds fine. It's clearly possible to write that read() function for JS source :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.