Text.Parsec many parser won't fully parse a custom parser

前端 未结 0 691
北荒
北荒 2021-01-13 21:40

I\'m trying to parse and execute a program like the following:

x := 1
y := 5

Do (x < 10)->
             x := x + 1
Od

print(x)

A prog

相关标签:
回答
  • 消灭零回复
提交回复
热议问题