Open knothed opened 3 years ago
ErrorTest.ly LexerTest.ly MonadTest.ly
- import Char
+ import Data.Char
Calc.ly
- import Char
+ import Data.Char
after running happy Calc.ly
an error results
$ runghc Calc.hs
Calc.hs:0:53: error:
* Variable not in scope: main :: IO a0
* Perhaps you meant `min' (imported from Prelude)
$
$ happy PgnParser.ly
PgnParser.ly:26: unrecognised directive: %newline
$
DavesExample.ly
> import Lexer
> import Convert
> import PreludeGlaArray
ErlParser.ly
> import GenUtils
> import Lexer
> import AbsSyn
> import Types
> import ParseMonad.Class
SimonsExample.ly
> import Type
> import Lexer
Many of the examples do not work. They seem to use outdated techniques of happy and often import modules that don't exist.