Jakob Stoklund Olesen
ee5f035e31
Upgrade to Rust 1.17.
...
- Remove some uses of 'static in const and static globals that are no
longer needed.
- Use the new struct initialization shorthand.
2017-04-27 12:46:44 -07:00
Jakob Stoklund Olesen
fc979c474f
Add mypy types for gen_settings.py.
2017-03-30 18:42:06 -07:00
rep-nop
b23f1fb347
Converts all try! macros to ? syntax.
...
Fixes #46
2017-02-26 07:50:55 -08:00
Jakob Stoklund Olesen
fb4db38dd6
Fill in boilerplate for Intel and ARM targets.
...
The intel, arm32, and arm32 targets were only defined in the meta
language previously. Add Rust implementations too.
This is mostly boilerplate, except for the unit tests in the
registers.rs files.
2016-11-23 10:42:07 -08:00
Jakob Stoklund Olesen
0b9b956695
Split out instruction definitions.
...
- cdsl.instructions defines the Instruction class.
- base.instructions defines the base instruction set.
2016-11-08 12:33:50 -08:00
Jakob Stoklund Olesen
e6b959436d
Split out predicates and settings.
...
- cdsl.predicates defines classes for describing predicates.
- cdsl.settings defines classes for describing settings.
- base.settings defines shared settings.
2016-11-08 10:37:17 -08:00
Jakob Stoklund Olesen
80823b5fc4
Require documentation on cretonne public items.
2016-10-26 19:10:06 -07:00
Jakob Stoklund Olesen
af6355e2ef
Move the 'meta' dir to 'lib/cretonne/meta'.
...
The 'lib/cretonne' directory will be the new root of a stand-alone
cretonne crate containg both Python and Rust sources.
This is in preparation for publishing crates on crates.io.
2016-10-17 14:19:23 -07:00