-
Notifications
You must be signed in to change notification settings - Fork 0
Syntax Summary
Troy Gerwien edited this page Nov 7, 2021
·
2 revisions
/**************** Bytes ****************/
#00 // always two digits
#ff // always hexadecimal
#FF // case-insensitive
// Q: concrete-only?
/**************** Numbers ****************/
1
3.14
-33
1.045e-18
// Q: abstract-only? byte-encodings can vary, eg BE, LE, IEEE754, etc
/**************** Booleans ****************/
true
false
// NB: abstract-only
/**************** Null ****************/
null
// NB: abstract-only
TODO: Strings...
- really a composite value - ie an expression
- what is the indivisible unit? a character? have syntax for that?
- could be abstract, concrete, or transcoded
- byte-encodings can vary, eg utf8, utf16, etc
// Strings
// Records
// Lists
// Sequence
// Selection
// Repetition