[bitc-dev] Random thoughts on mixfix
Kevin Reid
kpreid at mac.com
Thu Mar 18 04:06:52 PDT 2010
On Mar 18, 2010, at 4:15, Jonathan S. Shapiro wrote:
> where the semantic actions of mixsequence simply build a
> concatenated list of the constituent mixfix keywords, identifiers,
> and literals. We then run ResolveMixFixSequence on this list as a
> post-pass, which converts the initially parsed sequential AST into
> the expression AST intended by the prevailing mixfix syntax rules.
I believe this is a sometimes-used strategy to parse Haskell infix
operators. (There are no variable-precedence prefix or postfix
operators.)
--
Kevin Reid <http://switchb.org/kpreid/>
More information about the bitc-dev
mailing list