on 640f98e help sign in
elk/compiler
7 folders, 6 files
../ Generate/Get all of the Haskell files compiling with the new type checker. Does not actually work, undefined is used in some places as a stopgap measure. Language/Add `hoverable` and `hoverables` Metadata/Switch the internal data constructor name for tuples. Before tuple constructors could be shadowed by user defined ADT's such as "Tuple0", "Tuple2", etc. Now it uses "_Tuple0" to make it impossible to overlap with user defined ASTs. Parse/Rename functions and modules SourceSyntax/Create an `isOp` function for strings. Transform/Switch to reporting errors with [Doc] for prettier layout. Type/Switch to reporting errors with [Doc] for prettier layout. Compiler.hsFinish parameterizing the AST and properly check errors in let expressions. Docs.hsGet all of the Haskell files compiling with the new type checker. Does not actually work, undefined is used in some places as a stopgap measure. Dummy.cabalAdd two dummy files to make it possible to build the compiler from within emacs. This makes it faster to type-check things and start testing functions. Initialize.hsSwitch to reporting errors with [Doc] for prettier layout. Paths_Elm.hsAdd two dummy files to make it possible to build the compiler from within emacs. This makes it faster to type-check things and start testing functions. Unique.hsParameterized the AST for type annotations and variable types. Also rename Guid.hs to Unique.hs which reads a lot nicer.