Commit Graph

16 Commits

Author SHA1 Message Date
7396078304 Added directfs
Added a very rudimentary file I/O system suitable for experimenting
with the language further. A better one will be designed when we have
sensible error management.
2023-09-17 16:37:39 +01:00
0bcf10659b Cut down on macro nonsense
- InertAtomic replaced atomic_inert! for improved tooling support
- atomic_defaults! is easier to type out than to explain in a docstring
- Changed rustfmt config to better support tiny functions such as as_any
2023-09-15 12:37:10 +01:00
8c866967a9 The pipeline is finally reasonably clean 2023-09-12 01:26:46 +01:00
6693d93944 Interning Orchid string literals 2023-08-19 14:35:24 +01:00
0b887ced70 Converted Interner to work with Rc-s
- Interner no longer contains unsafe code
- Tokens now hold a reference to the value they represent directly

This will enable many future improvements
2023-08-19 14:03:05 +01:00
ab0b57b1b8 Added line:col display to errors 2023-08-18 22:53:38 +01:00
3fdabc29da Most files suffered major changes
- Less ambiguous syntax
- Better parser (Chumsky only does tokenization now)
- Tidy(|ier) error handling
- Facade for simplified embedding
- External code grouped in (fairly) self-contained Systems
- Dynamic action dispatch
- Many STL additions
2023-08-18 12:57:41 +01:00
751a02a1ec Basic string and binary processing
- strings are now made of graphemes
- char is no longer a literal type
- preliminary binary support
- added implicit extraction methods for primitives
- added explicit extraction method for atoms

Nothing has been tested yet
2023-07-02 23:56:54 +01:00
aebbf51228 STL rework
- fixed lots of bugs
- overlay libraries work correctly and reliably
- the STL is an overlay library
- examples updated
2023-06-17 21:12:29 +01:00
bc2714aad8 Preparation for sharing
- rustfmt
- clippy
- comments
- README
2023-05-25 19:14:24 +01:00
a604e40bad bug fixes and performance improvements 2023-05-07 22:35:38 +01:00
180ebb56fa Working example 2023-03-10 13:58:16 +00:00
3c63cae242 transfer commit 2023-02-03 14:40:34 +00:00
891d78c112 Rule execution now runs, no tests tho 2022-08-19 12:55:02 +02:00
ec7ad81fac A lot of stuff I'm not gonna enumerate
rule fundamentals
2022-07-06 20:13:13 +02:00
2b55fae10d redid the parser, patched up the project too. 2022-07-03 18:01:40 +02:00