I have that in an earlier prototype (called "None"), will soon also add it to this one. Can be done without bidi.
-
-
Replying to @paniq @TimSweeneyEpic
import statement imports the module at macro-stage: has access to symbols, and can import macros into scope.
2 replies 0 retweets 0 likes -
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
The runtime may find opportunities to multithread stuff, but there should be no observable consequences to it in a user program.
1 reply 0 retweets 0 likes -
Replying to @TimSweeneyEpic
i see. hm. so when you say you want futures, are you saying you want haskell-style lazy evaluation? i considered it,
3 replies 0 retweets 0 likes
It's not exactly lazy, it's eager evaluation that starts sequentially but may go asynchronously out-of-order due to dependencies.
-
-
Replying to @TimSweeneyEpic @paniq
{x=1,y=x+1} executes with no futures; {x=y+1,x=1} executes with futures; {x=y+1,y=x} deadlocks.
1 reply 0 retweets 1 like -
Replying to @TimSweeneyEpic
i assume the second one has a typo. hmyes, that translates in practice into something very similar lazy evaluation; and
1 reply 0 retweets 0 likes - 6 more replies
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.