Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,3 @@
$a
$日

View file

@ -0,0 +1,2 @@
aBlock value. "evaluate the block, passing no argument"
anotherBlock value:1 value:2. "evaluate the block, passing two arguments"

View file

@ -0,0 +1,7 @@
in the True class:
ifTrue: aBlock
^ aBlock value "I am true, so I evaluate the block"
in the False class:
ifTrue: aBlock
^ nil "I am false, so I ignore the block"

View file

@ -0,0 +1,4 @@
#{
foo: <someConstant>
bar: <someConstant>
}

View file

@ -0,0 +1,11 @@
#u16( 1 2 3 ). " an array of unsigned int16s "
#u32( 1 2 3 ). " an array of unsigned int32s "
#u64( 1 2 3 ). " an array of unsigned int64s "
#s16( -1 2 3 ). " an array of signed int16s "
#s32( -1 2 3 ). " an array of signed int32s "
#s64( -1 2 3 ). " an array of signed int64s "
#f16( -1 2.0 3 ). " an array of float16s "
#f32( -1 2.0 3 ). " an array of float32s "
#f64( -1 2.0 3 ). " an array of float64s "
#b( 1 0 1 1 0 0 ). " an array of bits "
#B( true false true true ). " an array of booleans "

View file

@ -0,0 +1,2 @@
'hello'
'

View file

@ -0,0 +1 @@
c'hello\nthis\tis a C string\0x0D'

View file

@ -0,0 +1 @@
e'hello world; it is now {Time now}\n'

View file

@ -0,0 +1 @@
#( 1 1.234 (1/2) foo 'hello' #(9 8 7) (99 88 77) '日本語' true [1 2 3] false)

View file

@ -0,0 +1 @@
#[ 1 2 16rFF 2r0101010 ]

View file

@ -0,0 +1,6 @@
#'foo'
#'foo bar baz'
#foo. " same as #'foo' "
#'++'
#++ " same as #'++' "
#a:b:c: " same as #'a:b:c:' "

View file

@ -0,0 +1 @@
[ expression . expression ... expression ]

View file

@ -0,0 +1 @@
[:arg1 :arg2 :... :argN | expression . expression ... expression ]