Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Releases: Chia-Network/clvm_tools_rs_fork

Fix bug: include paths in cldb

26 Jun 06:42
0f76565

Choose a tag to compare

I hadn't wired in the include path option in cldb. Fix that so we can compile code with includes.

First cargo release

22 Jun 17:18
7b87357

Choose a tag to compare

Merge pull request #41 from Chia-Network/20220622-enable-crate-build

Enable crate build

Parameter use checks, launch_tool exported to python, various fixes

17 Jun 07:23
403a427

Choose a tag to compare

  • 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

09 Jun 15:58
64aec7f

Choose a tag to compare

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

07 Jun 11:45
7c4ab5c

Choose a tag to compare

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

02 Jun 23:08
f9a4b78

Choose a tag to compare

This adds alpine wheel and contains repl bugfixes.

Add stepper object for python

03 May 14:01
c9be076

Choose a tag to compare

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

13 Apr 20:11
0154e32

Choose a tag to compare

  • Fixes a bug encoding certain large numbers

Fix panic running in daemon context (eliminates one message inherited from clvm_tools)

17 Mar 20:48
37d7b91

Choose a tag to compare

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

08 Mar 11:39
246f28d

Choose a tag to compare

Merge pull request #5 from Chia-Network/20220305-test-threading-fix

20220305 test threading fix