]>
git.mdlowis.com Git - proto/sclpl.git/log
Michael D. Lowis [Mon, 23 Jun 2014 23:52:46 +0000 (19:52 -0400)]
checkpoint commit
Michael D. Lowis [Mon, 23 Jun 2014 20:34:51 +0000 (16:34 -0400)]
Fixed stack reference in C99/pal.c
Michael D. Lowis [Fri, 9 May 2014 20:44:55 +0000 (16:44 -0400)]
Started to add a return stack rather than using the C stack
Michael D. Lowis [Fri, 9 May 2014 01:57:31 +0000 (21:57 -0400)]
fixed unmber parsing
Michael D. Lowis [Thu, 8 May 2014 02:42:04 +0000 (22:42 -0400)]
CP: half finished implementation of strtol for number parsing
Michael D. Lowis [Thu, 8 May 2014 00:59:31 +0000 (20:59 -0400)]
make words externally accessible
Michael D. Lowis [Wed, 7 May 2014 17:42:19 +0000 (13:42 -0400)]
Added build targets for 'extensions'. Moved some of the disabled code from slvm.c to new extension modules in preparation for a plugin architecture.
Michael D. Lowis [Tue, 6 May 2014 17:42:18 +0000 (13:42 -0400)]
Broke dependency on stdlib for vmkernel (also broke number parsing but nevermind that). Also rearranged slvm code for clarity
Michael D. Lowis [Tue, 6 May 2014 01:30:54 +0000 (21:30 -0400)]
rearrange comments so real code is at the top. also fix the build for OSX because scons is jank
Michael D. Lowis [Tue, 6 May 2014 00:52:14 +0000 (20:52 -0400)]
merged
Michael D. Lowis [Mon, 5 May 2014 20:48:26 +0000 (16:48 -0400)]
kernel code no longer depends on C standard lib
Michael D. Lowis [Mon, 5 May 2014 20:42:06 +0000 (16:42 -0400)]
Updated environments in build script. mingw no longer used on non-windows platforms
Michael D. Lowis [Mon, 5 May 2014 19:45:39 +0000 (15:45 -0400)]
Added 'platform abstraction layer' to abstract out the details of memory allocation and parser input/output
Michael D. Lowis [Mon, 5 May 2014 01:46:49 +0000 (21:46 -0400)]
Added name attribute to new dictionary type
Michael D. Lowis [Thu, 1 May 2014 20:42:55 +0000 (16:42 -0400)]
Fixed invalid comment and deleted unused var
Michael D. Lowis [Thu, 1 May 2014 16:57:17 +0000 (12:57 -0400)]
Tweaked behavior of file I/O words and fixed a bug in th estring parser
Michael D. Lowis [Thu, 1 May 2014 16:23:50 +0000 (12:23 -0400)]
Fixed compilation using the new parser/interpreter
Michael D. Lowis [Thu, 1 May 2014 01:57:37 +0000 (21:57 -0400)]
CP: Partially integrated new parser/compiler
Michael D. Lowis [Wed, 30 Apr 2014 23:54:15 +0000 (19:54 -0400)]
New parser is fully functional with the exception of floats
Michael D. Lowis [Wed, 30 Apr 2014 21:00:59 +0000 (17:00 -0400)]
CP: Token reader is working started to work on token parser
Michael D. Lowis [Wed, 30 Apr 2014 12:24:54 +0000 (08:24 -0400)]
CP: Parser rewrite. Builds but not functional yet.
Michael D. Lowis [Wed, 30 Apr 2014 00:33:02 +0000 (20:33 -0400)]
CP: Reworking parser with string and char literals as well as different number literals
Michael D. Lowis [Tue, 29 Apr 2014 23:32:35 +0000 (19:32 -0400)]
Added a typedef for dictionary definitions
Michael D. Lowis [Tue, 29 Apr 2014 23:21:44 +0000 (19:21 -0400)]
Switch flags field to be a union
Michael D. Lowis [Tue, 29 Apr 2014 23:15:15 +0000 (19:15 -0400)]
Switch flags field to be a union
Michael D. Lowis [Tue, 29 Apr 2014 23:14:48 +0000 (19:14 -0400)]
Switch flags field to be a union
Michael D. Lowis [Tue, 29 Apr 2014 20:26:40 +0000 (16:26 -0400)]
Added wish list comment to track possible features
Michael D. Lowis [Thu, 24 Apr 2014 17:44:42 +0000 (13:44 -0400)]
Added file I/O words that map C interfaces to words
Michael D. Lowis [Thu, 24 Apr 2014 02:22:39 +0000 (22:22 -0400)]
fixed if statements using index offsets instead of addresses
Michael D. Lowis [Wed, 23 Apr 2014 20:47:25 +0000 (16:47 -0400)]
checkpoint
Michael D. Lowis [Wed, 23 Apr 2014 17:32:07 +0000 (13:32 -0400)]
Added a typedef for values that should match the width of a pointer type. Compile time asser tin main fails the build if that's not true.
Michael D. Lowis [Wed, 23 Apr 2014 02:09:40 +0000 (22:09 -0400)]
checkpoint commit
Michael D. Lowis [Wed, 23 Apr 2014 01:51:31 +0000 (21:51 -0400)]
Moved typedefs and defines to a header and removed some unneeded code in main.c
Michael D. Lowis [Tue, 22 Apr 2014 18:25:27 +0000 (14:25 -0400)]
Working 'native' versions of if,else, and then
Michael D. Lowis [Tue, 22 Apr 2014 02:19:55 +0000 (22:19 -0400)]
CHECKPOINT: IF and THEN implementations
Michael D. Lowis [Mon, 21 Apr 2014 22:34:21 +0000 (18:34 -0400)]
Fixed updating of here value after comma execution
Michael D. Lowis [Mon, 21 Apr 2014 20:53:55 +0000 (16:53 -0400)]
codesize flag now tracks number of bytecodes in the command and comma now uses/updates this when appending a bytecode
Michael D. Lowis [Mon, 21 Apr 2014 20:47:45 +0000 (16:47 -0400)]
Refactored flags field to be a bitfield and to contain a (currently unused) codesize attribute. This attribute will be used to keep track of the number of bytecodes that make up the word.
Michael D. Lowis [Mon, 21 Apr 2014 02:12:12 +0000 (22:12 -0400)]
BROKEN: attempting to implement a ret instruction instead of null terminating bytecode
Michael D. Lowis [Mon, 21 Apr 2014 01:56:08 +0000 (21:56 -0400)]
Clean-up, restructuring, and debugging of control word implementations
Michael D. Lowis [Sat, 12 Apr 2014 19:28:45 +0000 (15:28 -0400)]
Swapped logic on [ and ], flagged hidden and immediate as immediate words, and took a first crack at implementing the ' word for use in loops and if statements.
Michael D. Lowis [Sat, 12 Apr 2014 14:29:34 +0000 (10:29 -0400)]
added moar comments.
Michael D. Lowis [Sat, 12 Apr 2014 14:23:00 +0000 (10:23 -0400)]
Added very minimal stack limit checking after execution of each word to *hopefully* prevent segmentation faults via bad stack operations
Michael D. Lowis [Fri, 11 Apr 2014 21:04:21 +0000 (17:04 -0400)]
addeded memory and byte manipulation implementations
Michael D. Lowis [Fri, 11 Apr 2014 00:49:55 +0000 (20:49 -0400)]
Implemented getting and setting of words
Michael D. Lowis [Thu, 10 Apr 2014 23:48:11 +0000 (19:48 -0400)]
Fixed the user prompt so it behaves reasonably
Michael D. Lowis [Thu, 10 Apr 2014 02:09:35 +0000 (22:09 -0400)]
Added more built-in words and added first attempt at branching words
Michael D. Lowis [Thu, 10 Apr 2014 01:17:19 +0000 (21:17 -0400)]
Implemented basic (non-branching) colon definitions
Michael D. Lowis [Wed, 9 Apr 2014 20:57:06 +0000 (16:57 -0400)]
Fixed a bug in find that resulted in hidden words being compared
Michael D. Lowis [Tue, 8 Apr 2014 02:11:16 +0000 (22:11 -0400)]
Checkpoint commit
Michael D. Lowis [Fri, 4 Apr 2014 21:01:58 +0000 (17:01 -0400)]
checkpoint
Michael D. Lowis [Thu, 3 Apr 2014 02:07:43 +0000 (22:07 -0400)]
Reorganized code for readability
Michael D. Lowis [Wed, 2 Apr 2014 19:48:04 +0000 (15:48 -0400)]
Implemented first crack at interpreter
Michael D. Lowis [Wed, 2 Apr 2014 02:02:57 +0000 (22:02 -0400)]
implemented more builtin words including stdio and compiler specific words
Michael D. Lowis [Tue, 1 Apr 2014 20:46:41 +0000 (16:46 -0400)]
Implemented arithmetic and bitwise operations as well as some basic stack shuffling operations
Mike D. Lowis [Tue, 1 Apr 2014 01:43:14 +0000 (21:43 -0400)]
added some basic built-in words
Michael D. Lowis [Mon, 31 Mar 2014 20:56:21 +0000 (16:56 -0400)]
Add default wordlist for forth-style interpeter
Michael D. Lowis [Mon, 31 Mar 2014 20:31:40 +0000 (16:31 -0400)]
Merge branch 'all-in-one' of github.com:mikedlowis/sclpl into all-in-one
Michael D. Lowis [Mon, 31 Mar 2014 20:31:01 +0000 (16:31 -0400)]
Added buildfile to use with 'spade'
Michael D. Lowis [Thu, 6 Feb 2014 20:00:44 +0000 (15:00 -0500)]
switch to scheme based binaries
Michael D. Lowis [Wed, 29 Jan 2014 21:09:36 +0000 (16:09 -0500)]
Incorporated experimental code from dropbox
Michael D. Lowis [Wed, 29 Jan 2014 17:38:52 +0000 (12:38 -0500)]
checkpoint commit before merging prototype code from dropbox
Michael D. Lowis [Fri, 11 Oct 2013 13:57:33 +0000 (09:57 -0400)]
Replace slas C code with Scheme code
Mike D. Lowis [Thu, 10 Oct 2013 01:25:49 +0000 (21:25 -0400)]
added file reading and writing infrastructure
Michael D. Lowis [Wed, 9 Oct 2013 17:50:34 +0000 (13:50 -0400)]
Added slas and slvm targets and commented out server spawning code in slpkg
Michael D. Lowis [Wed, 9 Oct 2013 16:08:21 +0000 (12:08 -0400)]
re-added -explicit-use option to csc compiler
Michael D. Lowis [Wed, 9 Oct 2013 15:35:14 +0000 (11:35 -0400)]
Added target for slpkg
unknown [Mon, 30 Sep 2013 16:43:03 +0000 (12:43 -0400)]
Moved build artifacts to a separate build directory
Mike D. Lowis [Mon, 16 Sep 2013 23:13:24 +0000 (19:13 -0400)]
Finished working version of libsof and readsof
Mike D. Lowis [Wed, 11 Sep 2013 19:52:25 +0000 (15:52 -0400)]
updated scons file to use separate environments for scheme and C binaries and cleaned up lint in libsof
Mike D. Lowis [Wed, 11 Sep 2013 17:34:58 +0000 (13:34 -0400)]
Initial commit of libsof
Mike D. Lowis [Thu, 22 Aug 2013 17:18:55 +0000 (13:18 -0400)]
Updated test framework
Mike D. Lowis [Tue, 13 Aug 2013 19:24:58 +0000 (15:24 -0400)]
Whack the old C based lexer and parser in favor of an all scheme parser
Mike D. Lowis [Tue, 13 Aug 2013 19:23:36 +0000 (15:23 -0400)]
removed obsolete files
Mike D. Lowis [Tue, 13 Aug 2013 19:15:20 +0000 (15:15 -0400)]
Commit language reference outline as LyX doc
Mike D. Lowis [Tue, 13 Aug 2013 01:46:19 +0000 (21:46 -0400)]
Type inference now working for recursive functions
Mike D. Lowis [Thu, 1 Aug 2013 00:35:55 +0000 (20:35 -0400)]
First crack at type inference complete
Mike D. Lowis [Mon, 15 Jul 2013 00:11:57 +0000 (20:11 -0400)]
added desugaring for begin blocks with expressions and definition syntax for functions
Mike D. Lowis [Thu, 11 Jul 2013 16:47:19 +0000 (12:47 -0400)]
Scheme-based syntax compiler now functional (With limited error detection and reporting)
Mike D. Lowis [Mon, 17 Jun 2013 22:11:42 +0000 (18:11 -0400)]
Functioning REPL for core syntax
Mike D. Lowis [Fri, 14 Jun 2013 14:01:04 +0000 (10:01 -0400)]
Fully functional scheme builders
Mike D. Lowis [Fri, 14 Jun 2013 02:26:18 +0000 (22:26 -0400)]
Added Sconstruct file instead of premake
Mike D. Lowis [Fri, 29 Mar 2013 16:17:20 +0000 (12:17 -0400)]
Implemented Token Parsing
Mike D. Lowis [Sun, 24 Mar 2013 21:54:34 +0000 (17:54 -0400)]
commit new type constructors
Mike D. Lowis [Fri, 15 Mar 2013 17:45:48 +0000 (13:45 -0400)]
Added common folder with tokens.h header for use by lexer and parser
Mike D. Lowis [Fri, 15 Mar 2013 17:02:17 +0000 (13:02 -0400)]
created parser main.c skeleton
Mike D. Lowis [Fri, 15 Mar 2013 16:39:28 +0000 (12:39 -0400)]
reverted unwanted changes
Mike D. Lowis [Fri, 15 Mar 2013 16:38:13 +0000 (12:38 -0400)]
updated .gitignore file
Mike D. Lowis [Fri, 15 Mar 2013 16:37:11 +0000 (12:37 -0400)]
Added example source and tokens file
Mike D. Lowis [Fri, 15 Mar 2013 16:33:10 +0000 (12:33 -0400)]
Removed debug print statement from lexer
Mike D. Lowis [Sat, 9 Mar 2013 04:48:01 +0000 (23:48 -0500)]
Implemented proper hexadecimal syntax
Mike D. Lowis [Thu, 28 Feb 2013 00:39:29 +0000 (19:39 -0500)]
Added comment handling to lexer
Mike D. Lowis [Wed, 27 Feb 2013 01:17:01 +0000 (20:17 -0500)]
updated new design using tok module
Mike D. Lowis [Tue, 26 Feb 2013 23:56:53 +0000 (18:56 -0500)]
finished number matching
Mike D. Lowis [Tue, 26 Feb 2013 01:20:41 +0000 (20:20 -0500)]
added punctuation and terminator rules
Mike D. Lowis [Mon, 25 Feb 2013 21:15:17 +0000 (16:15 -0500)]
Implemented machinery for working lexer
Mike D. Lowis [Sun, 24 Feb 2013 17:05:20 +0000 (12:05 -0500)]
add file management module
Mike D. Lowis [Fri, 22 Feb 2013 18:20:04 +0000 (13:20 -0500)]
updated parser to use garbage collector
Mike D. Lowis [Fri, 22 Feb 2013 18:18:39 +0000 (13:18 -0500)]
updated lexer to use garbage collector
Mike D. Lowis [Fri, 22 Feb 2013 18:10:49 +0000 (13:10 -0500)]
initial commit