📄 readme
字号:
These are a few examples of Happy parsers, taken from various sources.The are intended as illustrations, not as working, complete examples,as some require functions and datatypes imported from other sources.Calc.ly : The calculator example from the Happy manualDavesExample.ly : Parses simple lambda expressions to combinatorsSimonsExample.ly : Another lambda expression parserErlParser.ly : A parser for ErlangMonadTest.ly : Demonstrates use of %monadLexerTest.ly : Demonstrates use of %monad and %lexerErrorTest.ly : Demonstrates use of the 'error' tokenThere are also a few more examples under happy/tests.A full Haskell 98 parser written using Happy is available from the GHCCVS repository in fptools/hslibs/hssource. Seehttp://www.haskell.org/ghc/ for instructions on how to access the GHCCVS repository.-- Simon Marlow <simonmar@microsoft.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -