Skip to content

Commit

Permalink
Merge pull request #5 from Chia-Network/20240719-clsp-move
Browse files Browse the repository at this point in the history
20240719 clsp move
  • Loading branch information
prozacchiwawa authored Jul 22, 2024
2 parents 2e8fb87 + c617bba commit cf4720a
Show file tree
Hide file tree
Showing 113 changed files with 35 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.hex
5 changes: 4 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ fn do_compile(title: &str, filename: &str) -> Result<(), CompileError> {
let mut arguments: HashMap<String, ArgumentValue> = HashMap::new();
arguments.insert(
"include".to_string(),
ArgumentValue::ArgArray(vec![ArgumentValue::ArgString(None, ".".to_string())]),
ArgumentValue::ArgArray(vec![
ArgumentValue::ArgString(None, "clsp".to_string()),
ArgumentValue::ArgString(None, ".".to_string()),
]),
);

let file_content = fs::read_to_string(filename).map_err(|e| {
Expand Down
11 changes: 9 additions & 2 deletions chialisp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[compile]
unroll-puzzle = "resources/unroll_puzzle.clsp"
unroll-meta-puzzle = "resources/unroll_meta_puzzle.clsp"
unroll-puzzle = "clsp/unroll/unroll_puzzle.clsp"
unroll-meta-puzzle = "clsp/unroll/unroll_meta_puzzle.clsp"
calpoker-generate = "clsp/calpoker_include.clsp"
onchain-referee = "clsp/onchain/referee.clsp"
debug-game = "clsp/test/debug_game_handler.clsp"
handcalc-micro = "clsp/test/test_handcalc_micro.clsp"
make-cards = "clsp/test/test_make_cards.clsp"
deep-compare = "clsp/test/deep_compare.clsp"
test-mergein = "clsp/test/test_mergein.clsp"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions clsp/onchain/calpoker/test_atomsort.clsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(include *standard-cl-23*)
(import onchain.calpoker.onehandcalc exposing atomsort)

(export X (atomsort X))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
;; Validation info
validation_info readable_new_move

state_hash (shatree state)
other_turn (curried_other_turn CURRIED)

program-hash
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion onchain/referee.hex

This file was deleted.

1 change: 0 additions & 1 deletion resources/calpoker_include_calpoker_template.hex

This file was deleted.

1 change: 0 additions & 1 deletion resources/debug_game_handler.hex

This file was deleted.

1 change: 0 additions & 1 deletion resources/deep_compare.hex

This file was deleted.

1 change: 0 additions & 1 deletion resources/default_hidden_puzzle.hex

This file was deleted.

Loading

0 comments on commit cf4720a

Please sign in to comment.