readme

来自「編譯器 像YACC的編譯及語法產生器」· 代码 · 共 22 行

TXT
22
字号
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 + =
减小字号Ctrl + -
显示快捷键?