Previous page Table of Contents Next page
27-Sep-2008 | Initial public version |
28-Oct-2008 | Define pseudo-constructor. Improve Data Classes section slightly. Add spread arguments in argument-list (rather than an apply primitive). Much more detail in the Source Code Model section. Clarify initialization of multi-valued slots. |
3-Nov-2008 | Add List Comprehensions section. |
15-Nov-2008 | Add the something type to fix a protocol bug. Rename sequence to array, iterable to sequence, source-location to source-locator, advance-iteration to advance, current-element to next, etc. for clarity. Split off assignable-source-locator. Deconfuse collection versus sequence. Add the stream protocol. Clarify that the difference between punctuation and other names is only in whether delimiting characters are required, and in the syntactic type variable. Newlines and keywords are tokens. Simplify and clarify the explanation of newline handling accordingly. Eliminate unnecessary name-in-module class. Replace lexer with token-stream and a more rational protocol. Templates return token sequences, not lexers nor streams. This leads to considerable simplification. Replace mode argument to parsers with a simple error? argument. defparser, defsyntax, defmacro, operator macros implicitly define source-file and source-line. Rewrite hygiene section for clarity. Deconfuse blocks versus bodies. Merge with-exit and unwind-protect into group, thence into body, and rename group to do. Add Definitions at Macro Expansion Time section. Rename {...}1 to [...]+. Use spread arguments instead of apply function. Fix syntax of case statement to be LL(1). Remove [:= kludge. Fix many small errors in the examples. |
30-Dec-2008 | The cleanup: keyword in a body must be exdented. |
1-Jan-2009 | Fix arguments to match-line-group? and continue-line-group? |
18-Jan-2009 | Fix indentation rules in templates. |
25-Jan-2009 | match, match?, and match! take a skip-newline keyword argument. Deconfuse use of ^ and ~^ after & in patterns. Parameter list is optional in defclass. Fix scope of exit:, result:, and cleanup: in bodies of iteration statements. |
27-Jan-2009 | Add defmacro-block. |
21-Feb-2009 | Fix definition of reduce. |
22-Feb-2009 | Fix explanation of macro-context. Clarify rules for where newline tokens can appear. Add loop-body syntactic type. |
26-Feb-2009 | Fix incorrect placement of => in many example macro definitions. Add example definition of while statement. Add missing constructor: in defclass definition. |
1-Mar-2009 | Proofreading and final fixes. |
12-Mar-2009 | do exit: can't work because of scope conflict, so remove it. Only block allows exit:. Add scope slot to with-exit-expression. Fix parse-block to handle exit: properly. Clarify partial evaluation. Add multi-valued slot access as an array. Add Code Walking section. |
25-Mar-2009 | Add slides from my ILC '09 talk. |
29-Mar-2009 | Fix terminological laxness: LR(1), abstract syntax tree, partial evaluation. Use "P-expression" as the name for the object-oriented representation of source code. Clarify that P-expressions do not have name scopes resolved. Fix highly confused string templates concept. Remove unnecessary function same-definition?, use known-definition instead. Add match-bound-particle? helper function. Get rid of defmacro-block, clarify which statements create new blocks. Remove previous-context arguments to parsers and macros. They are only used for anaphoric macros, which can get the previous context by dynamic scoping. Second argument to wrong-token-error can be a collection of possibilities. The class range is both a collection and a type. Redesign type-specifiers to be the same as ordinary expressions except that all names in a type-specifier have an implicit $ prefix. Add the typed-variable syntactic type. Explain how the def statement uses this. Add literal as a type. Include examples from my ILC 2009 talk. Add eval-once to Code Walking section. Add syntax: keyword to Program Syntax section. Add Enumeration Types section. Add Regular Expressions section. Clarify the meaning of accessing a multi-valued slot as an array. Fix some typos. |
8-Apr-2009 | Rework definition P-expressions with a distinct subclass for each case. |
13-Apr-2009 | Add Executable Code Classes section. Better names for some of the P-expression classes. Get rid of assignable-source-locator and pass the source location to the compound-expression constructor by dynamic scoping instead. This works much better, macros do not need two extra arguments to keep track of source locations, and now all P-expression objects are immutable, at least in their public API. Explain add versus adjoin. Explain the range class better. Better documentation of some of the data classes. Explain the class class better. The mimic function also works on functions. Mention #/xyz syntax. Explain how curryable-invocation works with spread arguments. Fix current vs root module confusion in the Modules section. Move the for macro to its own section and make it extensible. |
01-Jan-2011 | Stop trying to use def for both function definitions and
variable definitions; introduce defun for function definitions. Use fun instead of [...] for lambda. Redefine method head parsing to simply parse a prototype function call expression and then take it apart. Remove result: from parameter lists; use is after the parentheses. Allow destructuring in :=, def, and parameter lists. Remove multiple values, destructuring does the same job better. Remove multiple-definition. Fix source-locator protocol not to use multiple values. Add section explaining why there are no multiple values in PLOT. Add contains? to dictionary protocol. Add defaulted-typed-variable. Add prefix [ operator for constructing lists and dictionaries and change the analogous syntax for constants from #( to #[. Rework newlines; they are punctuation now and are only allowed where the syntax specifically provides for them. Add indentation argument to parsers. Remove skip-newline: argument from parsing helper functions. Change the newline-related functions in the token-stream protocol and add parse-newline? function. Add ^^, ^=, and ^^= patterns. Remove ~^ pattern. Fully explain the new rules for method ordering and dispatch. Remove method combination; use as in a call instead. Stop trying to wedge all features into plain bodies; replace the exit: and cleanup: keywords with catch and cleanup statements respectively. Eliminate the result: keyword and the loop-body syntactic type entirely. Slots are no longer magic; the . operator is just an alternate syntax for function invocation and a slot name is just defined as a sealed method to read the slot. Remove the magic variable i in initialization expressions for multi-valued slots and just initialize the slot from a sequence. Use parentheses instead of brackets to subscript a multi-valued slot and change the way the length is handled. Remove virtual slots since methods do exactly the same thing now. Add sequence function as a pseudo-constructor. Remove elseif since else if works just as well. Implement operator precedence and associativity in the expression parser rather than with parsing barriers in token streams. Prefix operators obey operator precedence. Explain how require statements affect compile-time types. Definition constructors no longer automatically add the definition to a scope; that is a separate operation. Add annotations and associated : naming convention. : cannot be an infix operator, rename range constructor to .. and remove :+ Add period and as macros to Summary of Built-Ins. Add default: keyword parameter to infix [ since we are not going to use multiple values to report whether the element exists. Use abbreviated defclass in Source Code Model section. Add Casting and Delegation section. export: does not export names that start with underscore. Remove def#parser since defparser does the same thing. Fix _ to work better in complex expressions. |
22-Apr-2012 | Miscellaneous minor cleanups. |
Previous page Table of Contents Next page