cslatevm.git
13 years agoUpdated release image date.master
Brian T. Rice [Sat, 19 Mar 2011 03:58:00 +0000 (18 20:58 -0700)]
Updated release image date.

13 years agoRegex code structure cleanup.
Brian T. Rice [Wed, 16 Mar 2011 04:55:09 +0000 (15 21:55 -0700)]
Regex code structure cleanup.

13 years agoLexer code cleanup using nextSegmentUntil:.
Brian T. Rice [Wed, 16 Mar 2011 04:13:08 +0000 (15 21:13 -0700)]
Lexer code cleanup using nextSegmentUntil:.

13 years agoBootstrap code fixes to avoid interpretation as QuoteMacro forms.
Brian T. Rice [Wed, 16 Mar 2011 03:14:18 +0000 (15 20:14 -0700)]
Bootstrap code fixes to avoid interpretation as QuoteMacro forms.

13 years agoMoved QuoteMacro evaluation into the Parser from the Lexer, and changed the configura...
Brian T. Rice [Wed, 16 Mar 2011 02:34:44 +0000 (15 19:34 -0700)]
Moved QuoteMacro evaluation into the Parser from the Lexer, and changed the configuration from a Dictionary of blocks to a set of methods dispatching on the prefix selector. Trailing flags are also supported now.

13 years agoSeparated Trie into its own source file.
Brian T. Rice [Wed, 16 Mar 2011 02:00:10 +0000 (15 19:00 -0700)]
Separated Trie into its own source file.

13 years agoTrie code cleanups.
Brian T. Rice [Wed, 16 Mar 2011 01:58:12 +0000 (15 18:58 -0700)]
Trie code cleanups.

13 years agoAdjustments to do:in: to "delegate" from the new environment to the old one(s) on...
Brian T. Rice [Sun, 6 Mar 2011 21:36:27 +0000 (6 13:36 -0800)]
Adjustments to do:in: to "delegate" from the new environment to the old one(s) on failure. Also shuffled doIn: to be implemented as inDo: taking the implicit context as scope.

13 years agoRemoved/changed senders of addPrototype:.
Brian T. Rice [Sun, 6 Mar 2011 20:53:18 +0000 (6 12:53 -0800)]
Removed/changed senders of addPrototype:.

13 years agoRemoved a hack-ish override of #derive for C Types, and cleaned up related code.
Brian T. Rice [Sun, 6 Mar 2011 20:11:50 +0000 (6 12:11 -0800)]
Removed a hack-ish override of #derive for C Types, and cleaned up related code.

13 years agoRenamed addPrototype: to definePrototype: and removed addPrototype:derivedFrom:....
Brian T. Rice [Sat, 5 Mar 2011 23:10:56 +0000 (5 15:10 -0800)]
Renamed addPrototype: to definePrototype: and removed addPrototype:derivedFrom:. The method also now distinguishes the base parent from mixins/delegates, and executes a &doing: argument with doIn: on the result.

13 years agoAdded in:do: aliasing doIn: and commented both methods.
Brian T. Rice [Sat, 5 Mar 2011 22:06:43 +0000 (5 14:06 -0800)]
Added in:do: aliasing doIn: and commented both methods.

13 years agoBug-fix for Cloneable #derive without mixins.
Brian T. Rice [Sat, 5 Mar 2011 20:26:49 +0000 (5 12:26 -0800)]
Bug-fix for Cloneable #derive without mixins.

13 years agoGit-ignore'd the compiled Emacs mode.
Brian T. Rice [Sat, 5 Mar 2011 20:26:04 +0000 (5 12:26 -0800)]
Git-ignore'd the compiled Emacs mode.

13 years agoFixed a bug in the creation of local variables from a declaration of an optional...
Brian T. Rice [Sat, 5 Mar 2011 19:06:16 +0000 (5 11:06 -0800)]
Fixed a bug in the creation of local variables from a declaration of an optional with an inferred variable name.

13 years agoUsed colon-less keyword syntax in method signatures where the optional variable name...
Brian T. Rice [Sat, 5 Mar 2011 04:59:50 +0000 (4 20:59 -0800)]
Used colon-less keyword syntax in method signatures where the optional variable name did not differ from the keyword name.

13 years agoBug-fixes for the Slate emacs mode.
Brian T. Rice [Sat, 5 Mar 2011 04:24:35 +0000 (4 20:24 -0800)]
Bug-fixes for the Slate emacs mode.

13 years agoSlate mode syntax adjustment to highlight optional keywords which lack trailing colons.
Brian T. Rice [Sat, 5 Mar 2011 04:24:23 +0000 (4 20:24 -0800)]
Slate mode syntax adjustment to highlight optional keywords which lack trailing colons.

13 years agoAdded doIn: to Method for running it (without arguments) within a temporal environmen...
Brian T. Rice [Sat, 5 Mar 2011 03:49:53 +0000 (4 19:49 -0800)]
Added doIn: to Method for running it (without arguments) within a temporal environment. However, this is non-reentrant.

13 years agoSyntax node code cleanups.
Brian T. Rice [Sat, 5 Mar 2011 03:42:34 +0000 (4 19:42 -0800)]
Syntax node code cleanups.

13 years agoFixed allSelectorsSent because a simpler implementation was overriding the original.
Brian T. Rice [Sat, 5 Mar 2011 03:41:26 +0000 (4 19:41 -0800)]
Fixed allSelectorsSent because a simpler implementation was overriding the original.

13 years agoParser changes to clean up and extract method Signature parsing from MethodDefinition...
Brian T. Rice [Thu, 3 Mar 2011 15:23:09 +0000 (3 07:23 -0800)]
Parser changes to clean up and extract method Signature parsing from MethodDefinition parsing.

13 years agoRenamed partial->pattern in Parser nextPattern.
Brian T. Rice [Thu, 3 Mar 2011 08:13:12 +0000 (3 00:13 -0800)]
Renamed partial->pattern in Parser nextPattern.

13 years agoTODO updates for the latest release.
Brian T. Rice [Thu, 3 Mar 2011 06:00:31 +0000 (2 22:00 -0800)]
TODO updates for the latest release.

13 years ago#formatting code tweaks.
Brian T. Rice [Thu, 3 Mar 2011 04:51:25 +0000 (2 20:51 -0800)]
#formatting code tweaks.

13 years agoFixes for load: path resolution to work outside of normal directories, and added...
Brian T. Rice [Thu, 3 Mar 2011 04:20:43 +0000 (2 20:20 -0800)]
Fixes for load: path resolution to work outside of normal directories, and added support for ~/.slate and /usr/local/share/slate.

13 years agoImplemented formattingOn: to directly format onto a Stream.
Brian T. Rice [Thu, 3 Mar 2011 04:19:27 +0000 (2 20:19 -0800)]
Implemented formattingOn: to directly format onto a Stream.

13 years agoAdjustments to the Load resolve: method for finding sources.
Brian T. Rice [Wed, 2 Mar 2011 07:33:52 +0000 (1 23:33 -0800)]
Adjustments to the Load resolve: method for finding sources.

13 years agoAdded support for global installation of standard Slate source files.
Brian T. Rice [Wed, 2 Mar 2011 04:04:17 +0000 (1 20:04 -0800)]
Added support for global installation of standard Slate source files.

13 years agoRemoved min/max for Collection. To be re-added as mixins when that is more feasible.
Brian T. Rice [Tue, 1 Mar 2011 09:47:09 +0000 (1 01:47 -0800)]
Removed min/max for Collection. To be re-added as mixins when that is more feasible.

13 years agoSome regex bug-fixes.
Brian T. Rice [Tue, 1 Mar 2011 09:45:27 +0000 (1 01:45 -0800)]
Some regex bug-fixes.

13 years agoReverted use of error: with formatting call... that does not yet exist.
Brian T. Rice [Tue, 1 Mar 2011 09:25:47 +0000 (1 01:25 -0800)]
Reverted use of error: with formatting call... that does not yet exist.

13 years agoWget option to resume downloads.
Brian T. Rice [Tue, 1 Mar 2011 09:25:19 +0000 (1 01:25 -0800)]
Wget option to resume downloads.

13 years agoAdded glob and regex code to the prelude, and adjusted the Lexer QuoteMacros for...
Brian T. Rice [Tue, 1 Mar 2011 09:04:51 +0000 (1 01:04 -0800)]
Added glob and regex code to the prelude, and adjusted the Lexer QuoteMacros for them. Also made glob loadable separately from regex code.

13 years agoCleaned up namespace usage of the regex code.
Brian T. Rice [Tue, 1 Mar 2011 09:02:06 +0000 (1 01:02 -0800)]
Cleaned up namespace usage of the regex code.

13 years agoMoved regex.slate into src/lib/.
Brian T. Rice [Tue, 1 Mar 2011 08:38:31 +0000 (1 00:38 -0800)]
Moved regex.slate into src/lib/.

13 years agoMoved Glob code from src/shell into src/lib/glob.slate.
Brian T. Rice [Tue, 1 Mar 2011 08:31:43 +0000 (1 00:31 -0800)]
Moved Glob code from src/shell into src/lib/glob.slate.

13 years agoCleaned up the InOutProcessor code.
Brian T. Rice [Tue, 1 Mar 2011 08:29:23 +0000 (1 00:29 -0800)]
Cleaned up the InOutProcessor code.

13 years agoMoved "Shell" code into a "Glob" type/namespace, and removed FormatSpecification...
Brian T. Rice [Tue, 1 Mar 2011 08:29:12 +0000 (1 00:29 -0800)]
Moved "Shell" code into a "Glob" type/namespace, and removed FormatSpecification in favor of the newer standardized formatter.

13 years agoUse of := notation in Directory code.
Brian T. Rice [Tue, 1 Mar 2011 08:28:02 +0000 (1 00:28 -0800)]
Use of := notation in Directory code.

13 years agoDefault Makefile rules now update the DefaultSourceDir automatically.
Brian T. Rice [Tue, 1 Mar 2011 07:52:20 +0000 (28 23:52 -0800)]
Default Makefile rules now update the DefaultSourceDir automatically.

13 years agoMade the DefaultSourceDir's usage more flexible, and admit the dynamic source directo...
Brian T. Rice [Tue, 1 Mar 2011 07:50:37 +0000 (28 23:50 -0800)]
Made the DefaultSourceDir's usage more flexible, and admit the dynamic source directory as usable in addition to the built source directory.

13 years agoLegibility clean-ups for Shell and Regex code.
Brian T. Rice [Tue, 1 Mar 2011 03:42:07 +0000 (28 19:42 -0800)]
Legibility clean-ups for Shell and Regex code.

13 years agoExtracting parts of the formatting method into configuration and an options helper... timmy
Brian T. Rice [Tue, 22 Feb 2011 06:13:14 +0000 (21 22:13 -0800)]
Extracting parts of the formatting method into configuration and an options helper type.

13 years agoSome core stream code cleanups.
Brian T. Rice [Tue, 22 Feb 2011 01:34:14 +0000 (21 17:34 -0800)]
Some core stream code cleanups.

13 years agoAdded format.slate to the bootstrap.
Brian T. Rice [Mon, 21 Feb 2011 22:57:45 +0000 (21 14:57 -0800)]
Added format.slate to the bootstrap.

13 years agoBootstrapped in use of q{} QuoteMacro syntax to replace ##().
Brian T. Rice [Mon, 21 Feb 2011 22:50:00 +0000 (21 14:50 -0800)]
Bootstrapped in use of q{} QuoteMacro syntax to replace ##().

13 years agoTypo bug-fixes.
Brian T. Rice [Mon, 21 Feb 2011 22:41:57 +0000 (21 14:41 -0800)]
Typo bug-fixes.

13 years agoImplemented a "q" QuoteMacro for the ##() literals-array syntax.
Brian T. Rice [Mon, 21 Feb 2011 22:34:11 +0000 (21 14:34 -0800)]
Implemented a "q" QuoteMacro for the ##() literals-array syntax.

13 years agoBootstrap adjustments for rename from #sprintf* to #formatting, #format* to #interpolate.
Brian T. Rice [Mon, 21 Feb 2011 22:31:10 +0000 (21 14:31 -0800)]
Bootstrap adjustments for rename from #sprintf* to #formatting, #format* to #interpolate.

13 years agoformat* renamed to interpolate, sprintf* renamed to formatting, moved into their...
Brian T. Rice [Mon, 21 Feb 2011 19:50:01 +0000 (21 11:50 -0800)]
format* renamed to interpolate, sprintf* renamed to formatting, moved into their own library (eventually for dynamic compilation engines).
Added %b for binary.
Added <,=,> for alignment modifiers.

13 years agoDisabled // for QuoteMacroChars, since the hook will conflict with binary selector...
Brian T. Rice [Mon, 21 Feb 2011 19:20:45 +0000 (21 11:20 -0800)]
Disabled // for QuoteMacroChars, since the hook will conflict with binary selector lexing.

13 years agoAdded a src= option to the "make edit" rule to edit a specific file.
Brian T. Rice [Fri, 18 Feb 2011 22:15:21 +0000 (18 14:15 -0800)]
Added a src= option to the "make edit" rule to edit a specific file.

13 years agoImplemented Lexer QuoteMacroChars to configure character pairs. Added // to the reper...
Brian T. Rice [Fri, 18 Feb 2011 20:55:01 +0000 (18 12:55 -0800)]
Implemented Lexer QuoteMacroChars to configure character pairs. Added // to the repertoire of QuoteMacroChars.

13 years agoAdded r// and m// for Regex Matcher QuoteMacros, and f'' for sprintf* formatter strin...
Brian T. Rice [Fri, 18 Feb 2011 18:30:17 +0000 (18 10:30 -0800)]
Added r// and m// for Regex Matcher QuoteMacros, and f'' for sprintf* formatter string QuoteMacros.

13 years agoMade Load DefaultSourceDir mutable via := for fixing on install.
Brian T. Rice [Fri, 18 Feb 2011 18:29:34 +0000 (18 10:29 -0800)]
Made Load DefaultSourceDir mutable via := for fixing on install.

13 years agoTODO updates for QuoteMacro.
Brian T. Rice [Fri, 18 Feb 2011 06:10:15 +0000 (17 22:10 -0800)]
TODO updates for QuoteMacro.

13 years agoAdjusted File Locator print-form to match its QuoteMacro form (p{} or p'').
Brian T. Rice [Fri, 18 Feb 2011 05:26:26 +0000 (17 21:26 -0800)]
Adjusted File Locator print-form to match its QuoteMacro form (p{} or p'').

13 years agoFix for QuoteMacro so it parses as a literal.
Brian T. Rice [Fri, 18 Feb 2011 05:08:39 +0000 (17 21:08 -0800)]
Fix for QuoteMacro so it parses as a literal.

13 years agoAdded QuoteMacros "bytes" for ByteArrays and "p" for File Locators.
Brian T. Rice [Fri, 18 Feb 2011 04:51:04 +0000 (17 20:51 -0800)]
Added QuoteMacros "bytes" for ByteArrays and "p" for File Locators.

13 years agoBootstrap bug-fix for QuoteMacros.
Brian T. Rice [Fri, 18 Feb 2011 04:48:28 +0000 (17 20:48 -0800)]
Bootstrap bug-fix for QuoteMacros.

13 years agoMake QuoteMacro lexing more failure-tolerant.
Brian T. Rice [Fri, 18 Feb 2011 04:21:12 +0000 (17 20:21 -0800)]
Make QuoteMacro lexing more failure-tolerant.

13 years agoDefined a QuoteMacro token with an initial setup for words{foo bar baz} => {'foo...
Brian T. Rice [Fri, 18 Feb 2011 04:02:13 +0000 (17 20:02 -0800)]
Defined a QuoteMacro token with an initial setup for words{foo bar baz} => {'foo'. 'bar'. 'baz'}.

13 years agoImplemented "Lexer nextSegmentUntil: terminatorChar" for String and Comment tokens...
Brian T. Rice [Fri, 18 Feb 2011 03:31:50 +0000 (17 19:31 -0800)]
Implemented "Lexer nextSegmentUntil: terminatorChar" for String and Comment tokens. Intended to generalize to read/quote-macros.

13 years agoGit-ignored the gzipped manpage.
Brian T. Rice [Fri, 18 Feb 2011 03:18:55 +0000 (17 19:18 -0800)]
Git-ignored the gzipped manpage.

13 years agoBootstrap bug-fix.
Brian T. Rice [Fri, 18 Feb 2011 03:17:41 +0000 (17 19:17 -0800)]
Bootstrap bug-fix.

13 years agoDisabled the Nil-environment CompiledMethod optimization until a better cost-payoff...
Brian T. Rice [Thu, 17 Feb 2011 04:30:02 +0000 (16 20:30 -0800)]
Disabled the Nil-environment CompiledMethod optimization until a better cost-payoff is acheived, since #bodyIncludesImplicitSends incurs a 20% overhead to loading in this call-site, and not enough methods/blocks are affected.

13 years agoFixed the #environment accessor for non-CompiledMethod Methods.
Brian T. Rice [Thu, 17 Feb 2011 04:24:49 +0000 (16 20:24 -0800)]
Fixed the #environment accessor for non-CompiledMethod Methods.

13 years agoBug-fixes for getting the roles and methods of an object.
Brian T. Rice [Thu, 17 Feb 2011 04:16:00 +0000 (16 20:16 -0800)]
Bug-fixes for getting the roles and methods of an object.

13 years agoFixed functionality of FilterStream (select: for streams).
Brian T. Rice [Thu, 17 Feb 2011 04:15:35 +0000 (16 20:15 -0800)]
Fixed functionality of FilterStream (select: for streams).

13 years agoRenamed allSelectorsSentToVar: to allSelectorsSentTo:.
Brian T. Rice [Thu, 17 Feb 2011 03:39:47 +0000 (16 19:39 -0800)]
Renamed allSelectorsSentToVar: to allSelectorsSentTo:.

13 years agoFix for the Compiler logic to Nil the environment on a CompiledMethod when not needed.
Brian T. Rice [Thu, 17 Feb 2011 02:05:52 +0000 (16 18:05 -0800)]
Fix for the Compiler logic to Nil the environment on a CompiledMethod when not needed.

13 years agoBug-fixes for allSelectorsSentToVar: and allSelectorsSentImplicitly.
Brian T. Rice [Thu, 17 Feb 2011 01:46:12 +0000 (16 17:46 -0800)]
Bug-fixes for allSelectorsSentToVar: and allSelectorsSentImplicitly.

13 years agoOptimization to unset a CompiledMethod's environment slot if no messages are sent...
Brian T. Rice [Thu, 17 Feb 2011 01:26:11 +0000 (16 17:26 -0800)]
Optimization to unset a CompiledMethod's environment slot if no messages are sent to the implicit context.

13 years agoUn-echo'd the wget command for make!
Brian T. Rice [Tue, 15 Feb 2011 15:56:37 +0000 (15 07:56 -0800)]
Un-echo'd the wget command for make!

13 years agoDefaulted WORD_SIZE back to 32 until 64-bit releases are supported.
Brian T. Rice [Tue, 15 Feb 2011 15:49:59 +0000 (15 07:49 -0800)]
Defaulted WORD_SIZE back to 32 until 64-bit releases are supported.

13 years agoNew image release.
Brian T. Rice [Tue, 15 Feb 2011 09:27:40 +0000 (15 01:27 -0800)]
New image release.

13 years agoRenamed wordarray.slate to array-words.slate.
Brian T. Rice [Tue, 15 Feb 2011 08:42:36 +0000 (15 00:42 -0800)]
Renamed wordarray.slate to array-words.slate.

13 years agoFile/Directory code cleanups and a fix for #/.
Brian T. Rice [Tue, 15 Feb 2011 07:48:02 +0000 (14 23:48 -0800)]
File/Directory code cleanups and a fix for #/.

13 years agoRenamed InsertionSequence's filename according to the new convention.
Brian T. Rice [Tue, 15 Feb 2011 07:35:48 +0000 (14 23:35 -0800)]
Renamed InsertionSequence's filename according to the new convention.

13 years agoAdded an automatic resolver for files which infers a filename suffix of ".slate"...
Brian T. Rice [Tue, 15 Feb 2011 06:42:12 +0000 (14 22:42 -0800)]
Added an automatic resolver for files which infers a filename suffix of ".slate" and searches standard source directories (hardcoded for now, relative to the build path).

13 years agoRenamed pre/post bootstrap actions sources.
Brian T. Rice [Tue, 15 Feb 2011 05:04:50 +0000 (14 21:04 -0800)]
Renamed pre/post bootstrap actions sources.

13 years agoSplit and renamed core library files to reflect single types which could later be...
Brian T. Rice [Tue, 15 Feb 2011 04:34:33 +0000 (14 20:34 -0800)]
Split and renamed core library files to reflect single types which could later be modularized. This also standardizes some filenaming conventions.

13 years agoMoved assignment, binding, and case statement macro code into src/syntax/.
Brian T. Rice [Tue, 15 Feb 2011 03:08:04 +0000 (14 19:08 -0800)]
Moved assignment, binding, and case statement macro code into src/syntax/.

13 years agoAdded a "latest_release_image" Makefile rule which downloads, unzips, and installs...
Brian T. Rice [Tue, 15 Feb 2011 02:49:03 +0000 (14 18:49 -0800)]
Added a "latest_release_image" Makefile rule which downloads, unzips, and installs as ./slate.image the latest appropriate release image from Google Code.

13 years agoDisabled special-macro-ification of return selectors pending further investigation.
Brian T. Rice [Tue, 8 Feb 2011 09:24:32 +0000 (8 01:24 -0800)]
Disabled special-macro-ification of return selectors pending further investigation.

13 years agoDefined ^ and ^^ as special binary macros.
Brian T. Rice [Tue, 8 Feb 2011 09:13:24 +0000 (8 01:13 -0800)]
Defined ^ and ^^ as special binary macros.

13 years agoMore ::= usage, and removed users of `cacheAs:.
Brian T. Rice [Tue, 8 Feb 2011 08:59:14 +0000 (8 00:59 -0800)]
More ::= usage, and removed users of `cacheAs:.

13 years agoUpdated TODOs.
Brian T. Rice [Tue, 8 Feb 2011 08:11:09 +0000 (8 00:11 -0800)]
Updated TODOs.

13 years agoFixed a bug where two code branches with Bindings would never "unify" to one variable.
Brian T. Rice [Tue, 8 Feb 2011 07:52:44 +0000 (7 23:52 -0800)]
Fixed a bug where two code branches with Bindings would never "unify" to one variable.

13 years agoAttempt at making notFoundOn: more robust, secondary to another bug investigation.
Brian T. Rice [Mon, 7 Feb 2011 05:20:06 +0000 (6 21:20 -0800)]
Attempt at making notFoundOn: more robust, secondary to another bug investigation.

13 years agoUses of ::= in core.
Brian T. Rice [Sun, 6 Feb 2011 19:52:43 +0000 (6 11:52 -0800)]
Uses of ::= in core.

13 years agoFixed the shell command-line printer to render "&option" or "&option: True" as "...
Brian T. Rice [Sun, 6 Feb 2011 18:31:33 +0000 (6 10:31 -0800)]
Fixed the shell command-line printer to render "&option" or "&option: True" as "-option".

13 years agoCleanups to the creation of default accessor and mutator methods.
Brian T. Rice [Sat, 5 Feb 2011 23:51:56 +0000 (5 15:51 -0800)]
Cleanups to the creation of default accessor and mutator methods.

13 years agoCompiledMethod #new method adjustments.
Brian T. Rice [Sat, 5 Feb 2011 23:51:09 +0000 (5 15:51 -0800)]
CompiledMethod #new method adjustments.

13 years agoComplete revert to define: syntax in Image attribute definitions.
Brian T. Rice [Sat, 5 Feb 2011 23:50:34 +0000 (5 15:50 -0800)]
Complete revert to define: syntax in Image attribute definitions.

13 years agoFixed the absence of environment-passing for assignment special macros.
Brian T. Rice [Sat, 5 Feb 2011 17:47:53 +0000 (5 09:47 -0800)]
Fixed the absence of environment-passing for assignment special macros.

13 years agoSwitched ::= back to := for some persistent structures that seem to really need repla...
Brian T. Rice [Fri, 4 Feb 2011 05:04:35 +0000 (3 21:04 -0800)]
Switched ::= back to := for some persistent structures that seem to really need replaceability over time/reboots.

13 years agoUnit and benchmark test usage of ::= and :=.
Brian T. Rice [Fri, 4 Feb 2011 04:56:19 +0000 (3 20:56 -0800)]
Unit and benchmark test usage of ::= and :=.

13 years agoBug-fixes for Image definition.
Brian T. Rice [Thu, 3 Feb 2011 00:49:45 +0000 (2 16:49 -0800)]
Bug-fixes for Image definition.