Brian T. Rice [Wed, 2 Feb 2011 22:03:39 +0000 (2 14:03 -0800)]
Core code using addImmutableSlot:valued: changed to use ::=.
Brian T. Rice [Wed, 2 Feb 2011 22:02:02 +0000 (2 14:02 -0800)]
Made the Debugger's lookup of local variables not precede the ability to send messages.
Brian T. Rice [Wed, 2 Feb 2011 21:59:29 +0000 (2 13:59 -0800)]
Made the ReturnInput Restart applicable to all Conditions.
Brian T. Rice [Wed, 2 Feb 2011 06:23:37 +0000 (1 22:23 -0800)]
Adjusted the re-bootstrap to ignore RebindError for ::= statements encountered the second time.
Brian T. Rice [Wed, 2 Feb 2011 04:34:38 +0000 (1 20:34 -0800)]
Bug-fixes for Symbol interning.
Brian T. Rice [Wed, 2 Feb 2011 04:23:42 +0000 (1 20:23 -0800)]
Revert "Revert "Made use of ::= in core libraries and defined a RebindError condition which can be skipped by load:.""
This reverts commit
b50678612d12a77d8b42caacba0da05e6eed71e3.
Brian T. Rice [Wed, 2 Feb 2011 04:23:03 +0000 (1 20:23 -0800)]
Revert "Revert "Core code source usage of ::= and other cleanups.""
This reverts commit
2c2df541d9dddeb94d45b0265dcf50b33da46ad3.
Conflicts:
src/core/symbol.slate
Brian T. Rice [Wed, 2 Feb 2011 04:06:01 +0000 (1 20:06 -0800)]
Revert "More ::= reversions in core."
This reverts commit
530d6bcf699c6ed3f3a198e48f046ee87fd746e4.
Brian T. Rice [Wed, 2 Feb 2011 04:05:14 +0000 (1 20:05 -0800)]
Revert "::= reversions in the Parser."
This reverts commit
732873a2a3dd920e2725f52c3e80dddb1ec48e22.
Brian T. Rice [Wed, 2 Feb 2011 03:53:47 +0000 (1 19:53 -0800)]
Revert "Revert "Use of ::= in the Compiler, eliminating almost all mutable state from its methods.""
This reverts commit
81043353071213a2681f394451761a98737f60f5.
Brian T. Rice [Wed, 2 Feb 2011 03:44:22 +0000 (1 19:44 -0800)]
VM code reformatting.
Brian T. Rice [Wed, 2 Feb 2011 03:25:57 +0000 (1 19:25 -0800)]
Typo-bug-fix for assignment to unary messages.
Brian T. Rice [Tue, 1 Feb 2011 08:14:15 +0000 (1 00:14 -0800)]
Removed the `bootstrapping macro.
Brian T. Rice [Tue, 1 Feb 2011 08:12:09 +0000 (1 00:12 -0800)]
Split macro.slate into separate files, for assignment, binding, and case-statement support, and added #handleFirstCaseOf:otherwise:.
Brian T. Rice [Tue, 1 Feb 2011 06:01:07 +0000 (31 22:01 -0800)]
Cleaned up Symbol printing code.
Brian T. Rice [Tue, 1 Feb 2011 05:24:37 +0000 (31 21:24 -0800)]
Unified #bootstrapSymbols slot with #Symbols, removing the accessor and simplifying the bootstrap.
Brian T. Rice [Tue, 1 Feb 2011 05:10:37 +0000 (31 21:10 -0800)]
Adjusted the image bootstrap to macroExpand before assembling the main kernel method, thus removing the possibility of those macros modifying the kernel method.
Brian T. Rice [Mon, 31 Jan 2011 05:23:34 +0000 (30 21:23 -0800)]
Revert "Use of ::= in the Compiler, eliminating almost all mutable state from its methods."
This reverts commit
702be6033ebfac01a586f3611d061205b5149026.
Brian T. Rice [Mon, 31 Jan 2011 03:47:57 +0000 (30 19:47 -0800)]
Bug-fix for supporting value-less optional keywords.
Brian T. Rice [Mon, 31 Jan 2011 03:08:04 +0000 (30 19:08 -0800)]
::= reversions in the Parser.
Brian T. Rice [Mon, 31 Jan 2011 02:49:38 +0000 (30 18:49 -0800)]
More ::= reversions in core.
Brian T. Rice [Mon, 31 Jan 2011 02:47:49 +0000 (30 18:47 -0800)]
Revert "Core code source usage of ::= and other cleanups."
This reverts commit
79404e72840bdc650b4a3551a976866e47bb4e8b.
Conflicts:
src/core/sequence.slate
src/core/set.slate
Brian T. Rice [Mon, 31 Jan 2011 02:30:30 +0000 (30 18:30 -0800)]
Added support for timestamp-less image bootstraps.
Brian T. Rice [Mon, 31 Jan 2011 02:12:07 +0000 (30 18:12 -0800)]
Revert "Made use of ::= in core libraries and defined a RebindError condition which can be skipped by load:."
This reverts commit
55d1e389af4c9b7ed855b89e59f5c14df13a9ffd.
Conflicts:
src/core/condition-epilogue.slate
src/core/set.slate
Brian T. Rice [Sun, 30 Jan 2011 22:21:58 +0000 (30 14:21 -0800)]
Support for using % as a standalone binary selector (for sprintf* and modulus, probably).
Brian T. Rice [Fri, 28 Jan 2011 03:56:54 +0000 (27 19:56 -0800)]
Some parser code cleanups.
Brian T. Rice [Fri, 28 Jan 2011 03:50:22 +0000 (27 19:50 -0800)]
Re-organized DEBUG_PRINT settings in the Makefile.
Brian T. Rice [Fri, 28 Jan 2011 03:47:56 +0000 (27 19:47 -0800)]
Used org-mode for TODO and removed tasks that were too big or ignored more basic issues with the language.
Brian T. Rice [Fri, 28 Jan 2011 02:59:52 +0000 (27 18:59 -0800)]
Extended the Parser so that message sends with non-keyword optionals are treated as a keyword with value of True. (e.g. "&foo" becomes "&foo: True").
Brian T. Rice [Fri, 28 Jan 2011 02:35:25 +0000 (27 18:35 -0800)]
Slightly cleaner debugging display of VM register values.
Brian T. Rice [Fri, 28 Jan 2011 02:34:37 +0000 (27 18:34 -0800)]
Fixed concatenateAll: not to treat Nil as an empty join-Sequence, and fixed a case of not using :=.
Brian T. Rice [Tue, 25 Jan 2011 10:24:56 +0000 (25 02:24 -0800)]
Unit test code usage of :=/::=.
Brian T. Rice [Mon, 24 Jan 2011 05:12:23 +0000 (23 21:12 -0800)]
More bootstrap code cleanups.
Brian T. Rice [Mon, 24 Jan 2011 02:01:21 +0000 (23 18:01 -0800)]
Made the VM quieter (in diagnostics) by default.
Brian T. Rice [Sun, 23 Jan 2011 23:21:21 +0000 (23 15:21 -0800)]
Bootstrap code cleanups.
Brian T. Rice [Sun, 23 Jan 2011 22:48:24 +0000 (23 14:48 -0800)]
Fixed indexOfSubSeq:startingAt:ifAbsent: and includesSubSeq: for empty subsequences, so that they are "found at start" instead of treated as absent (as in Squeak).
Brian T. Rice [Sun, 23 Jan 2011 21:34:39 +0000 (23 13:34 -0800)]
LLVM code using ::= and namespace-localization.
Brian T. Rice [Sun, 23 Jan 2011 20:39:16 +0000 (23 12:39 -0800)]
Removed long-since defunct LLVM bootstrap code. Any LLVM strategy will have to be different from this.
Brian T. Rice [Tue, 18 Jan 2011 07:49:05 +0000 (17 23:49 -0800)]
Core code source usage of ::= and other cleanups.
Brian T. Rice [Tue, 18 Jan 2011 07:36:12 +0000 (17 23:36 -0800)]
Bootstrap code cleanups.
Brian T. Rice [Tue, 11 Jan 2011 08:51:32 +0000 (11 00:51 -0800)]
Bootstrap syntax bug-fix.
Brian T. Rice [Tue, 11 Jan 2011 03:48:06 +0000 (10 19:48 -0800)]
Fixed the signaling of RebindError.
Brian T. Rice [Tue, 11 Jan 2011 03:47:48 +0000 (10 19:47 -0800)]
Added a cannotAccept:in: message to signal a SlotTypeError, and made use of it in Array types (and refreshed source to use :=/::=).
Brian T. Rice [Tue, 11 Jan 2011 03:39:36 +0000 (10 19:39 -0800)]
FFI usage of ::=.
Brian T. Rice [Tue, 11 Jan 2011 03:39:01 +0000 (10 19:39 -0800)]
Added #Symbols slot to #globals during bootstrap to avoid a #forwardTo: before the Symbols table construction.
Brian T. Rice [Tue, 11 Jan 2011 03:36:19 +0000 (10 19:36 -0800)]
Use of ::= in the Compiler, eliminating almost all mutable state from its methods.
Brian T. Rice [Tue, 11 Jan 2011 03:35:49 +0000 (10 19:35 -0800)]
Trival code formatting for the pre-bootstrap code.
Brian T. Rice [Tue, 11 Jan 2011 02:28:18 +0000 (10 18:28 -0800)]
Fixed a bug in #trace: and made use of ::= in Collection methods.
Brian T. Rice [Sun, 9 Jan 2011 22:28:43 +0000 (9 14:28 -0800)]
Implemented a first cut version of #to: which calls #as: but on error returns the source object.
Brian T. Rice [Tue, 4 Jan 2011 09:19:35 +0000 (4 01:19 -0800)]
Core Condition code fixes.
Brian T. Rice [Tue, 4 Jan 2011 09:19:10 +0000 (4 01:19 -0800)]
Fixed the TAGS Makefile rule.
Brian T. Rice [Tue, 4 Jan 2011 09:18:47 +0000 (4 01:18 -0800)]
Emacs mode tweak so that >= and <= are not highlighted as op-assignments.
Brian T. Rice [Tue, 4 Jan 2011 05:35:38 +0000 (3 21:35 -0800)]
Made use of ::= in core libraries and defined a RebindError condition which can be skipped by load:.
Brian T. Rice [Sun, 2 Jan 2011 08:13:09 +0000 (2 00:13 -0800)]
Typo fix for token code and some code formatting.
Brian T. Rice [Sun, 2 Jan 2011 07:48:42 +0000 (1 23:48 -0800)]
Added Variable named: and fixed bindTo: bugs.
Brian T. Rice [Sun, 2 Jan 2011 07:47:00 +0000 (1 23:47 -0800)]
Removed unnecessary named references to LoadVariable and StoreVariable.
Brian T. Rice [Sun, 2 Jan 2011 05:26:33 +0000 (1 21:26 -0800)]
Prelude fixes for loading C type objects.
Brian T. Rice [Sun, 2 Jan 2011 04:17:27 +0000 (1 20:17 -0800)]
Removed some vestigial/inappropriate self-return expressions from Collection methods.
Brian T. Rice [Sun, 2 Jan 2011 04:11:22 +0000 (1 20:11 -0800)]
Added a Binding Syntax node and implemented bindTo: to use it, enforcing immutable local bindings. Bindings inside blocks will automatically create local variables in the outermost block scope without a variable or binding of that name.
Brian T. Rice [Sun, 2 Jan 2011 03:45:22 +0000 (1 19:45 -0800)]
Emacs mode indentation fix for top-level method bodies, and for indentation within brackets after an expression, using the beginning of the statement for indentation basis.
Brian T. Rice [Sun, 2 Jan 2011 02:44:27 +0000 (1 18:44 -0800)]
Refactored `cacheAs:/`rememberAs: to indicate similarities.
Brian T. Rice [Wed, 22 Dec 2010 17:02:09 +0000 (22 09:02 -0800)]
Various small fixes for bootstrap.
Brian T. Rice [Wed, 22 Dec 2010 10:39:46 +0000 (22 02:39 -0800)]
Support for &imports in the post-bootstrap load: handler.
Brian T. Rice [Wed, 22 Dec 2010 10:38:38 +0000 (22 02:38 -0800)]
Bug-fix for the primitive version of load: where imports are not given.
Brian T. Rice [Wed, 22 Dec 2010 10:27:39 +0000 (22 02:27 -0800)]
Arranged the C types to refer to the current platform or a given one when determining the byte/bit-size of various integer types.
Brian T. Rice [Wed, 22 Dec 2010 09:52:20 +0000 (22 01:52 -0800)]
Extracted "C Types" namespace prefix from its source body into the prelude.
Brian T. Rice [Wed, 22 Dec 2010 09:41:13 +0000 (22 01:41 -0800)]
Renamed src/syntax/writer.slate to print.slate for clarity.
Brian T. Rice [Wed, 22 Dec 2010 09:37:32 +0000 (22 01:37 -0800)]
Renamed "Writer" types to "PrintStream" and appropriate variations.
Brian T. Rice [Tue, 21 Dec 2010 10:19:40 +0000 (21 02:19 -0800)]
Implemented an &imports: option to load: to clarify the prelude's use of import:from:.
Brian T. Rice [Tue, 21 Dec 2010 09:38:25 +0000 (21 01:38 -0800)]
Reverted a bootstrap order adjustment for := and ::= since they depend on `er.
Brian T. Rice [Tue, 21 Dec 2010 09:23:21 +0000 (21 01:23 -0800)]
Bug-fix for macroExpand on RestArguments.
Brian T. Rice [Tue, 21 Dec 2010 08:19:12 +0000 (21 00:19 -0800)]
Additional fixes/adjustments for #bindTo:.
Brian T. Rice [Tue, 21 Dec 2010 07:58:55 +0000 (20 23:58 -0800)]
Removed remaining calls to the obsolescent addDelegateNamed:valued:.
Brian T. Rice [Tue, 21 Dec 2010 07:19:54 +0000 (20 23:19 -0800)]
README updates for git and image downloads.
Brian T. Rice [Tue, 21 Dec 2010 07:17:17 +0000 (20 23:17 -0800)]
Implemented bindTo: / ::= macro in terms of a bind:to:.
Brian T. Rice [Tue, 21 Dec 2010 07:16:04 +0000 (20 23:16 -0800)]
Syntax fix for the multiple-value-assignment macro.
Brian T. Rice [Tue, 21 Dec 2010 07:07:05 +0000 (20 23:07 -0800)]
Core code cleanups.
Brian T. Rice [Wed, 8 Dec 2010 04:29:22 +0000 (7 20:29 -0800)]
Prelude update to get TraversalStream types out of the lobby.
Brian T. Rice [Wed, 8 Dec 2010 04:28:25 +0000 (7 20:28 -0800)]
Generalized Emacs mode highlighting of op-assignment, and ensured that the ? character works as a binary selector element.
Brian T. Rice [Sun, 5 Dec 2010 20:22:13 +0000 (5 12:22 -0800)]
Used Syntax Pattern syntax as the form for pretty-printing, and removed the special handler for the lobby.
Brian T. Rice [Sun, 5 Dec 2010 20:19:21 +0000 (5 12:19 -0800)]
Namespace code style tweaks.
Brian T. Rice [Sat, 4 Dec 2010 17:18:20 +0000 (4 09:18 -0800)]
Implemented a very trivial use: idiom to wrap load: which returns a fresh namespace or its exports slot, allowing both CommonJS and Newspeak style modularity.
Brian T. Rice [Thu, 2 Dec 2010 16:23:14 +0000 (2 08:23 -0800)]
Wrapped Lexer undoToken: with a Parser method.
Brian T. Rice [Thu, 2 Dec 2010 16:21:09 +0000 (2 08:21 -0800)]
Disabled interactive mode in the REPL due to the current parser changes subtly breaking it.
Brian T. Rice [Thu, 2 Dec 2010 16:20:31 +0000 (2 08:20 -0800)]
Fix for compareAndHash calls in macro.slate to be for bootstrapping only.
Brian T. Rice [Tue, 30 Nov 2010 08:29:54 +0000 (30 00:29 -0800)]
Renamed input argument "w" to "pattern" for Pattern methods.
Brian T. Rice [Tue, 30 Nov 2010 08:13:31 +0000 (30 00:13 -0800)]
Eliminated automatic evaluation from Pattern nodes.
Brian T. Rice [Tue, 30 Nov 2010 07:29:10 +0000 (29 23:29 -0800)]
Trivial code-cleanups for printing code.
Brian T. Rice [Tue, 30 Nov 2010 07:28:55 +0000 (29 23:28 -0800)]
Fixed users of addPrintName:.
Brian T. Rice [Tue, 30 Nov 2010 06:59:55 +0000 (29 22:59 -0800)]
Final tweaks to printName.
Brian T. Rice [Tue, 30 Nov 2010 06:40:23 +0000 (29 22:40 -0800)]
Renamed "Partial" to "Pattern" in Syntax code.
Brian T. Rice [Tue, 30 Nov 2010 06:31:27 +0000 (29 22:31 -0800)]
Final fix of #printName so that it acts like an accessor/mutator pair, and doesn't print traits/traitsWindow unless appropriate.
Brian T. Rice [Tue, 30 Nov 2010 05:50:01 +0000 (29 21:50 -0800)]
Altered the signifier of tokens holding values so that they show the value, assisting with error messages.
Brian T. Rice [Tue, 30 Nov 2010 05:46:44 +0000 (29 21:46 -0800)]
Altered #printName so that the " traitsWindow" suffix is not appended - traits objects still get the suffix in order to clarify when necessary.
Brian T. Rice [Tue, 30 Nov 2010 05:45:57 +0000 (29 21:45 -0800)]
Allow for Condition descriptions to be non-String objects (particularly, Syntax Partial objects).
Brian T. Rice [Mon, 29 Nov 2010 06:22:06 +0000 (28 22:22 -0800)]
Emacs mode updates to read define: lines into imenu more robustly.
Brian T. Rice [Mon, 22 Nov 2010 04:34:19 +0000 (21 20:34 -0800)]
Bug-fix for Syntax Partial parsing.
Brian T. Rice [Mon, 22 Nov 2010 01:42:07 +0000 (21 17:42 -0800)]
Adjusted Parser nextPartial to accept a Symbol literal as a Partial, and perform the necessary coercion into a Message.
Brian T. Rice [Mon, 22 Nov 2010 01:04:55 +0000 (21 17:04 -0800)]
Bug-fix for reading number literals with negative exponents.
Brian T. Rice [Mon, 22 Nov 2010 00:28:29 +0000 (21 16:28 -0800)]
Clarified Lexer methods.