Added Go implementation
This commit is contained in:
@@ -206,12 +206,12 @@ if [
|
||||
my_inline 100 = if [ " :: (inline) PASS" puts cr ] [ " :: (inline) FAIL" puts cr ] # Test inline ::
|
||||
|
||||
# 11. Host Language Evaluation: hseval
|
||||
"Testing host language evaluation..." puts cr
|
||||
"[1, 2] * 2" hseval [ 1 2 1 2 ] streq
|
||||
"1 + 2" hseval 3 = and
|
||||
if [
|
||||
" hseval PASS" puts cr
|
||||
] [
|
||||
" hseval FAIL" puts cr
|
||||
]
|
||||
# "Testing host language evaluation..." puts cr
|
||||
# "[1, 2] * 2" hseval [ 1 2 1 2 ] streq
|
||||
# "1 + 2" hseval 3 = and
|
||||
# if [
|
||||
# " hseval PASS" puts cr
|
||||
# ] [
|
||||
# " hseval FAIL" puts cr
|
||||
# ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user