From: Mike D. Lowis Date: Tue, 1 May 2012 23:39:07 +0000 (-0400) Subject: Updated spec X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=refs%2Fheads%2Fv0_3;p=archive%2Fdlang.git Updated spec --- diff --git a/docs/language_spec/language.lyx b/docs/language_spec/language.lyx index 5b2e555..d79a6d3 100644 --- a/docs/language_spec/language.lyx +++ b/docs/language_spec/language.lyx @@ -125,9 +125,8 @@ Basic Types \end_layout \begin_layout Standard -Basic data types in DLang consist of atomic, self contained, values that - may be passed around, used in expressions, and returned as the result of - expressions. +Basic data types in DLang consist of atomic values that may be passed around, + used in expressions, and returned as the result of expressions. These data types represent the simplest building blocks of DLang. The data types that fall into this category are: Numbers, Characters, Symbols, and Booleans. @@ -155,8 +154,9 @@ Numbers in DLang consist of several subtypes: Int, Float, BigInt, BigFloat, \begin_layout Standard DLang fully supports mixed arithmetic. - When an arithmetic operator receives to numbers of differing types, the - smallest type is automatically expanded to the size of the larger type. + When an arithmetic operator receives two numbers of differing subtypes, + the smallest subtype is automatically expanded to the size of the larger + subtype. \end_layout \begin_layout Standard @@ -277,7 +277,7 @@ Strings \end_layout \begin_layout Standard -Strings are implemented as vectors of Characters. +Strings are implemented as ordered vectors of Characters. \end_layout \begin_layout Subsection