Add langs Cherrycake and Insitux

This commit is contained in:
Ingy döt Net 2023-07-18 13:56:46 -07:00
parent 633b36288a
commit 9817d9b99b
36 changed files with 132 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{
:a "value" ;keyword key, string value
:b 123 ;keyword key, number value
456 [1 2 3] ;number key, vector value
[5 6 7] :b ;vector key, keyword value
{:a 1} {:b 2} ;dictionary key, dictionary value
}

View file

@ -0,0 +1,3 @@
;use dictionary as function for lookup; commas for readability, treated as white-space
> ({:a 1, :b 2, :c 3} :b)
2

View file

@ -0,0 +1,3 @@
;extend existing dictionary by using it as a function with two arguments
> ({:a 1, :b 2, :c 3} :b 3)
{:a 1, :b 3, :c 3}