-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move opens into instructions/parentheses; implement :auto-close to se…
…t probability of adding a close from opens produced by instructions
- Loading branch information
Showing
3 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
(ns propeller.push.instructions.parentheses) | ||
|
||
;; Number of blocks opened by instructions (default = 0) | ||
(def opens | ||
"Number of blocks opened by instructions. The default is 0." | ||
{:exec_dup 1 | ||
:exec_dup_times 1 | ||
:exec_dup_items 0 ; explicitly set to 0 to make it clear that this is intended | ||
:exec_eq 0 ; explicitly set to 0 to make it clear that this is intended | ||
:exec_pop 1 | ||
:exec_rot 3 | ||
:exec_shove 1 | ||
:exec_swap 2 | ||
:exec_yank 0 ; explicitly set to 0 to make it clear that this is intended | ||
:exec_yank_dup 0 ; explicitly set to 0 to make it clear that this is intended | ||
:exec_deep_dup 0 ; explicitly set to 0 to make it clear that this is intended | ||
:exec_print 1 | ||
:exec_if 2 | ||
:exec_when 1 | ||
:exec_while 1 | ||
:exec_do_while 1 | ||
:exec_do_range 1 | ||
:exec_do_count 1 | ||
:exec_do_times 1 | ||
:exec_k 2 | ||
:exec_s 3 | ||
:exec_y 1 | ||
:string_iterate 1 | ||
:vector_boolean_iterate 1 | ||
:vector_string_iterate 1 | ||
:vector_integer_iterate 1 | ||
:vector_float_iterate 1 | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters