on 18adffc 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/Turn unary negation back on. SourceSyntax/Add back in checks for duplicate and out-of-order definitions. Transform/Add back in checks for duplicate and out-of-order definitions. Type/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. 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.hsAdd back in checks for duplicate and out-of-order definitions. 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.