accordproject / ergo

Programming Language for Smart Legal Contracts
https://accordproject.org/projects/ergo
Apache License 2.0
158 stars 55 forks source link

Refactor backend module instantiation #39

Open jeromesimeon opened 6 years ago

jeromesimeon commented 6 years ago

It might be necessary/cleaner to instantiate the Qcert modules for code generation before* they are used in Ergo. This would freeze foreign types (e.g., for date/time) which means constructing type models is more natural. This concretely means:

jeromesimeon commented 6 years ago

A large part of this item is done in 1dfdc9d. Still further cleanup is needed and we can start to take advantage of the refactoring (for type import, standard library, etc).