-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
388 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[ | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Arguments": "(() ())", | ||
"Operator": "4", | ||
"Operator-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Result-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Function": "concat", | ||
"Row": "0", | ||
"Value": "(())" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Arguments": "(1 0x42e576f7)", | ||
"Function-Context": "()", | ||
"Function": "concat", | ||
"Operator": "14", | ||
"Operator-Location": "test_with_hex.clsp(1):17", | ||
"Result-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Row": "1", | ||
"Value": "0x0142e576f7" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Final": "0x0142e576f7", | ||
"Final-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16" | ||
} | ||
} | ||
] | ||
} | ||
] |
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,49 @@ | ||
[ | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Arguments": "(() ())", | ||
"Operator": "4", | ||
"Operator-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Result-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Function": "concat", | ||
"Row": "0", | ||
"Value": "(())" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Arguments": "(1 1122334455)", | ||
"Function-Context": "()", | ||
"Function": "concat", | ||
"Operator": "14", | ||
"Operator-Location": "test_with_hex.clsp(1):17", | ||
"Result-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16", | ||
"Row": "1", | ||
"Value": "5417301751" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Compute": [ | ||
{ | ||
"Function-Args": {}, | ||
"Function-Name": "test_with_hex.clsp", | ||
"Output": { | ||
"Final": "5417301751", | ||
"Final-Location": "test_with_hex.clsp(1):10-test_with_hex.clsp(1):16" | ||
} | ||
} | ||
] | ||
} | ||
] |
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,20 @@ | ||
;; | ||
;; This program is used by the test_quote_string_generation test | ||
;; which checks the representation of these outputs and ensures | ||
;; that they're properly accepted by brun, which uses the classic | ||
;; chialisp tokenizer/parser. | ||
;; | ||
;; the qs macro appends the given string onto "test" | ||
;; the atom macro gives a quoted atom starting with test and | ||
;; ending with the text given in the string. | ||
;; | ||
;; modern's macro system makes these different objects. | ||
;; | ||
(mod () | ||
(include *standard-cl-23*) | ||
|
||
(defmac qs (X) (string-append "test" X)) | ||
(defmac atom (X) (c 1 (string->symbol (string-append "test" X)))) | ||
|
||
(list (qs '"') (qs "'") (qs " hi") (atom '"') (atom "'") (atom "_hi")) | ||
) |
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
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
Oops, something went wrong.