import statement imports the module at macro-stage: has access to symbols, and can import macros into scope.
-
-
Replying to @paniq @TimSweeneyEpic
oh wait you said operator parsers! yeah then - i guess you're right. but i don't want that, so i'm lucky! :D
1 reply 0 retweets 0 likes -
Replying to @paniq @TimSweeneyEpic
once the parser is programmable, i think you want to only stream in as much as you need to expand the next expression.
1 reply 0 retweets 1 like -
Replying to @paniq
Right! That's why everything-is-a-future is critical. Stuff comes in asynchronously, which resolves dependencies in order and time.
1 reply 0 retweets 2 likes -
Replying to @TimSweeneyEpic @paniq
Parsers can operate within precedence-aware expression combinators, but are free to go rogue e.g. for user comment or markup syntax.
1 reply 0 retweets 0 likes -
Replying to @TimSweeneyEpic @paniq
To ensure sane grammar, the framework enforces LL(1) at parse-time, but can disambiguate static multi character sequences like +, +=.
1 reply 0 retweets 0 likes -
Replying to @TimSweeneyEpic
so you want actual multithreading in this pipeline? intriguing.
2 replies 0 retweets 1 like -
Replying to @paniq @TimSweeneyEpic
without multithreading, aren't futures just a special case of continuations?
1 reply 0 retweets 0 likes -
Replying to @paniq
In my formulation, they are referentially transparent and invisible to code. You can't ask "is future A ready?"
1 reply 0 retweets 0 likes -
Replying to @TimSweeneyEpic @paniq
Rather, you write "X=A+1" and get a new future that's ready when A is ready. Sort of a dual to Haskell thunks and lazy evaluation.
1 reply 0 retweets 0 likes
Despite all of this, side-effectful operations always execute in order relative to each other.
-
-
Replying to @TimSweeneyEpic @paniq
This is practicable only because most code is purely functional, with mutation and low-level I/O being rare.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.