Graphite/libraries
urisinger 9fb494764c
Add math-parser library (#2033)
* start of parser

* ops forgot

* reorder files and work on executer

* start of parser

* ops forgot

* reorder files and work on executer

* Cleanup and fix tests

* Integrate into the editor

* added unit checking at parse time

* fix tests

* fix issues

* fix editor intergration

* update pest grammer to support units

* units should be working, need to set up tests to know

* make unit type store exponants as i32

* remove scale, insted just multiply the literal by the scale

* unit now contains empty unit,remove options

* add more tests and implement almost all unary operators

* add evaluation context and variables

* function calling, api might be refined later

* add constants, change function call to not be as built into the parser
and add tests

* add function definitions

* remove meval

* remove raw-rs from workspace

* add support for numberless units

* fix unit handleing logic, add some "unit" tests(haha)

* make it so units cant do implcit mul with idents

* add bench and better tests

* fix editor api

* remove old test

* change hashmap context to use deref

* change constants to use hashmap instad of function

---------

Co-authored-by: hypercube <0hypercube@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2024-11-21 10:24:01 -08:00
..
bezier-rs Bezier-rs: Make rectangle constructor produce linear segments (#2109) 2024-11-18 21:10:08 +00:00
dyn-any Refactor the node macro and simply most of the node implementations (#1942) 2024-09-20 03:50:30 -07:00
math-parser Add math-parser library (#2033) 2024-11-21 10:24:01 -08:00
path-bool Rename Raw-rs to Rawkit (#2088) 2024-11-03 08:10:39 +00:00
rawkit Rename Raw-rs to Rawkit (#2088) 2024-11-03 08:10:39 +00:00