| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
buffer tells fiddle to create a buffer of a number of bytes.
skip_to tells fiddle to skip to some new offset. It's essentially an
unnamed buffer
|
|
|
|
|
|
| |
Now it includes information about the package a symobl is in. The object
its in and the register its in. This allows better code generation in
the backend that's somewhat more organized.
|
|
|
|
| |
This is for expressions which must be calculatable at compile time.
|
|
|
|
|
| |
Have basic implementations down for coarse registers. Working on getting
bitfields supported.
|
|
|
|
|
| |
This helps to catch bugs in the compiler, specifically ones related to
mixing up bits and bytes.
|
|
|
|
|
| |
This makes deriving much easier and cleans up the messy contexts in
GenericTree and elsewhere at the cost of slightly more obtuse syntax.
|
| |
|
| |
|
| |
|
|
|
|
| |
It now converts normal data into JSON rather than using "show".
|
|
|
|
|
|
|
| |
Big change. Implements qualification, which separates the qualification
concerns from the ConsistencyCheck phase.
I'm getting close to implementing a backend.
|
| |
|
| |
|
|
|
|
|
| |
Import statements are fully implemented including compiling to an
interface file for faster compilations.
|
|
|
|
| |
compliation phases.
|
|
|
|
|
|
|
| |
Introduced the `AdvanceStage` typeclass, which provides a mechanism to
transition AST elements between different compilation stages. This
abstraction facilitates easier traversal and modification of the syntax
tree as it progresses through various compilation phases.
|
|
|
|
| |
Make some more changes to the generic implementation of EasySwitchStage.
|
|
|
|
| |
symbols.
|
|
|
|
|
|
| |
Added annotation sublanguage for defining compiler directives. Also
added the syntax for import statements. Imports are not implemented, but
I'm currently working on that.
|
|
|
|
|
|
|
|
|
| |
Added structures and unions to better define the layout and model
overlapping concerns.
renamed objtype -> type and object -> instance.
added reserved statements for types.
|
|
|
|
|
| |
I think this is the last phase before sending the refined AST to the
backend compiler to be processed.
|
|
|
|
|
| |
Delegated behavior of Compile monad to monad transformers MaybeT and
RWS.
|
|
|