From: Mike D. Lowis Date: Thu, 15 Mar 2012 18:17:54 +0000 (-0400) Subject: Updated type sections in the language spec X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=92e55d843d0aef437d837166891e9edc59757553;p=archive%2Fdlang.git Updated type sections in the language spec --- diff --git a/LANGUAGE.markdown b/LANGUAGE.markdown index 89a05e8..cdcd49b 100644 --- a/LANGUAGE.markdown +++ b/LANGUAGE.markdown @@ -35,12 +35,34 @@ Here are some examples for defining numbers: -4.0e-3 #### Characters + + 'A' + #### Symbols + + $some_symbol + #### Boolean Values + True + False + Nil + ### Collections #### Lists + + () # An empty list + (1) # This is NOT a list. This evaluates to 1 + (1, 2) # A list with two numbers + ('a', 1) # A list with two elements of different types + #### Vectors + + [] # An empty vector + [1] # A vector with on element + [1, 2] # A vector with two number elements + ['a', 1] # A vector with two elements of different types + #### Maps #### Strings @@ -51,6 +73,8 @@ Here are some examples for defining numbers: ### Streams +A Work In Progress + Operations and Operators ---------------------------------------------- @@ -77,6 +101,8 @@ A Work In Progress Modules ---------------------------------------------- +A Work In Progress + Macros ----------------------------------------------