Releases: Chia-Network/clvm_tools_rs_fork
Fix bug: include paths in cldb
I hadn't wired in the include path option in cldb. Fix that so we can compile code with includes.
First cargo release
Merge pull request #41 from Chia-Network/20220622-enable-crate-build Enable crate build
Parameter use checks, launch_tool exported to python, various fixes
- Several bug fixes
- launch_tool is not exported to python code, enabling 'run' to be replaced in the exported clvm_tools entrypoint and from other code
- New run --check-unused-args provides support for determining whether uncurried (lower case) arguments to the program are used (a capitalized parameter or one starting with
_does not count).
Solve argument destructuring in classic chialisp based on work on at-captures
A longstanding bug prevented destructuring of arguments to work in the same way in defun-inline as defun due to the simple way inlines were converted to macros. Because of the need to keep code generation precisely the same in classic chialisp, this change modifies the argument list and adds a map which, when complex destructuring is used in a way that previously would not have worked, allows the map and modified argument structure to support retrieval of arguments as if an environment tree had been constructed as in the realized environment passed to as defun.
The effect is that defun-inline and defun should now have parity when it comes to the way destructuring in argument lists is handled.
Add at-capture arguments
Added an (@ capture substructure) operator for arguments that binds capture, but continues evaluating arguments at substructure, allowing programs like this to work:
(defun left ((@ pt (x y)))
(if x (list (- x 1) y) pt)
)
(defun right ((@ pt (x y)))
(if (> 5 x) (list (+ x 1) y) pt)
)
(defun down ((@ pt (x y)))
(if (> 5 y) (list x (+ y 1)) pt)
)
(defun move ((@ pt (x y)) move)
(if (= move "LEFT")
(left pt)
(if (= move "RIGHT")
(right pt)
(down pt)
)
)
)
(defun next ((@ pt (x y)) moves)
(if moves
(next (move pt (f moves)) (r moves))
pt
)
)
(next (list x y) d)
)```
Add alpine wheel
This adds alpine wheel and contains repl bugfixes.
Add stepper object for python
Adds a stepper object for python based on cldb. It can be used to step through clvm code in a logical order and give details on execution.
Fix bug encoding large numbers
- Fixes a bug encoding certain large numbers
Fix panic running in daemon context (eliminates one message inherited from clvm_tools)
A log message that originated on clvm_tools was causing a panic when run in daemon mode with stdout closed. This eliminates the message.
Arm and mac m1 wheels, more bulletproof compilation output for running hosted in many simultaneous python processes
Merge pull request #5 from Chia-Network/20220305-test-threading-fix 20220305 test threading fix