owo-lang / OwO

Placeholder for the OwO compiler
Apache License 2.0
59 stars 1 forks source link

A rough parser with naive parserc #12

Closed ice1000 closed 5 years ago

ice1000 commented 5 years ago

zhen xiang

ice1000 commented 5 years ago

Only "pragma" and operators are left unparsed.

ice1000 commented 5 years ago

Watch me start doing operator parser 15:41, 4, Dec 2018

ice1000 commented 5 years ago
src\full\OwO\Syntax\Parser\NaiveParser.hs:204:3: error:
    Tuple sections not (yet) handled by Template Haskell (fix,)
    |
204 |   (fix,) $ uncurry3 PsiPostulate <$> bind (layoutP $ typeSignatureP' fix)
    |   ^^^^^^

Haskell rubbish

ice1000 commented 5 years ago

I will leave pragma there.

ice1000 commented 5 years ago

18:40

Hmm, seems I'm still not productive enough.