mirror of
https://github.com/janet-lang/janet
synced 2025-10-17 08:47:39 +00:00
Add bytecode verification
This commit is contained in:
@@ -193,6 +193,15 @@
|
||||
(assert (= (string "🐼" 🦊 🐮) "🐼foxcow") "emojis 🙉 :)")
|
||||
(assert (not= 🦊 :🦊) "utf8 strings are not symbols and vice versa")
|
||||
|
||||
# Symbols with @ symbol
|
||||
|
||||
(def @ 1)
|
||||
(assert (= @ 1) "@ symbol")
|
||||
(def @@ 2)
|
||||
(assert (= @@ 2) "@@ symbol")
|
||||
(def @hey 3)
|
||||
(assert (= @hey 3) "@hey symbol")
|
||||
|
||||
# Merge sort
|
||||
|
||||
# Imperative merge sort merge
|
||||
|
Reference in New Issue
Block a user