]> git.mdlowis.com Git - proto/sclpl.git/log
proto/sclpl.git
11 years agoadded some error handling
Michael D. Lowis [Thu, 2 Oct 2014 00:00:05 +0000 (20:00 -0400)]
added some error handling

11 years agoFixed tree-building algorithm and updated clang toolchain settings
Michael D. Lowis [Wed, 1 Oct 2014 18:06:35 +0000 (14:06 -0400)]
Fixed tree-building algorithm and updated clang toolchain settings

11 years agoFixed bug in lexer when releasing tokens
Michael D. Lowis [Tue, 30 Sep 2014 19:28:37 +0000 (15:28 -0400)]
Fixed bug in lexer when releasing tokens

11 years agotweaked tree building mechanism
Michael D. Lowis [Sun, 28 Sep 2014 23:02:27 +0000 (19:02 -0400)]
tweaked tree building mechanism

11 years agoAdded leak detection
Michael D. Lowis [Fri, 26 Sep 2014 20:25:51 +0000 (16:25 -0400)]
Added leak detection

11 years agoSwitch to reference counted allocations
Michael D. Lowis [Fri, 26 Sep 2014 19:27:00 +0000 (15:27 -0400)]
Switch to reference counted allocations

11 years agointegrated lincds and fixed memory leaks
Michael D. Lowis [Fri, 26 Sep 2014 18:35:39 +0000 (14:35 -0400)]
integrated lincds and fixed memory leaks

11 years agoRefactor code structure to have separate parser and grammar modules
Michael D. Lowis [Fri, 26 Sep 2014 17:52:47 +0000 (13:52 -0400)]
Refactor code structure to have separate parser and grammar modules

11 years agoAdded libcds and libopts to sclpl deps
Michael D. Lowis [Fri, 26 Sep 2014 01:23:32 +0000 (21:23 -0400)]
Added libcds and libopts to sclpl deps

11 years agotweaked number handling
Michael D. Lowis [Fri, 26 Sep 2014 00:24:48 +0000 (20:24 -0400)]
tweaked number handling

11 years agoRemoved mpc based lexer and replaced with handwritten
Michael D. Lowis [Thu, 25 Sep 2014 16:48:00 +0000 (12:48 -0400)]
Removed mpc based lexer and replaced with handwritten

11 years agoStarted removing mpc
Michael D. Lowis [Thu, 25 Sep 2014 03:02:13 +0000 (23:02 -0400)]
Started removing mpc

11 years agoRename tokens to have T_ prefix
Michael D. Lowis [Wed, 24 Sep 2014 20:44:50 +0000 (16:44 -0400)]
Rename tokens to have T_ prefix

11 years agoremoved usage of strdup
Michael D. Lowis [Wed, 24 Sep 2014 15:09:43 +0000 (11:09 -0400)]
removed usage of strdup

11 years agoFixed the rakefile to always use clang
Michael D. Lowis [Wed, 24 Sep 2014 15:08:49 +0000 (11:08 -0400)]
Fixed the rakefile to always use clang

11 years agoAdded several submodules for data structures, options parsing, and unit testing
Michael D. Lowis [Wed, 24 Sep 2014 15:07:56 +0000 (11:07 -0400)]
Added several submodules for data structures, options parsing, and unit testing

11 years agoRemoved unneccesary file
Michael D. Lowis [Wed, 24 Sep 2014 13:35:37 +0000 (09:35 -0400)]
Removed unneccesary file

11 years agomerged local and remote changes
Michael D. Lowis [Wed, 24 Sep 2014 12:38:06 +0000 (08:38 -0400)]
merged local and remote changes

11 years agoAdded build scripts
Michael D. Lowis [Wed, 24 Sep 2014 02:48:43 +0000 (22:48 -0400)]
Added build scripts

11 years agofixed EOF handling
Michael D. Lowis [Wed, 24 Sep 2014 02:24:11 +0000 (22:24 -0400)]
fixed EOF handling

11 years agointegrated build-system module from github
Michael D. Lowis [Tue, 23 Sep 2014 20:28:57 +0000 (16:28 -0400)]
integrated build-system module from github

11 years agoline endings changed
Michael D. Lowis [Tue, 23 Sep 2014 20:20:39 +0000 (16:20 -0400)]
line endings changed

11 years agoCheckin new parser files
Michael D. Lowis [Fri, 19 Sep 2014 18:41:46 +0000 (14:41 -0400)]
Checkin new parser files

11 years agoReworked parser and translation layer
Michael D. Lowis [Tue, 19 Aug 2014 20:34:13 +0000 (16:34 -0400)]
Reworked parser and translation layer

11 years agoreworked grammar for nicer tags, broke it instead :(
Michael D. Lowis [Tue, 19 Aug 2014 03:37:10 +0000 (23:37 -0400)]
reworked grammar for nicer tags, broke it instead :(

11 years agofirst crack at ast translation
Michael D. Lowis [Tue, 19 Aug 2014 02:50:48 +0000 (22:50 -0400)]
first crack at ast translation

11 years agomerge with upstream
Michael D. Lowis [Tue, 19 Aug 2014 00:54:42 +0000 (20:54 -0400)]
merge with upstream

11 years agoTweaked rakefile
Michael D. Lowis [Tue, 19 Aug 2014 00:53:21 +0000 (20:53 -0400)]
Tweaked rakefile

11 years agoAdded sclpl binary target and rscons based rakefile
Michael D. Lowis [Tue, 19 Aug 2014 00:46:41 +0000 (20:46 -0400)]
Added sclpl binary target and rscons based rakefile

11 years agoAdded driver rakefile for llvm section of build in preparation for move to rscons
Michael D. Lowis [Wed, 16 Jul 2014 19:58:31 +0000 (15:58 -0400)]
Added driver rakefile for llvm section of build in preparation for move to rscons

11 years agoFix LLVM build on windows and slvm build on all platforms
Michael D. Lowis [Tue, 24 Jun 2014 16:17:31 +0000 (12:17 -0400)]
Fix LLVM build on windows and slvm build on all platforms

11 years agoswitch to cmake for llvm
Michael D. Lowis [Tue, 24 Jun 2014 02:33:24 +0000 (22:33 -0400)]
switch to cmake for llvm

11 years agoIntegrate llvm
Michael D. Lowis [Tue, 24 Jun 2014 01:55:21 +0000 (21:55 -0400)]
Integrate llvm

11 years agocheckpoint commit all-in-one
Michael D. Lowis [Mon, 23 Jun 2014 23:52:46 +0000 (19:52 -0400)]
checkpoint commit

11 years agoFixed stack reference in C99/pal.c
Michael D. Lowis [Mon, 23 Jun 2014 20:34:51 +0000 (16:34 -0400)]
Fixed stack reference in C99/pal.c

11 years agoStarted to add a return stack rather than using the C stack
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

11 years agofixed unmber parsing
Michael D. Lowis [Fri, 9 May 2014 01:57:31 +0000 (21:57 -0400)]
fixed unmber parsing

11 years agoCP: half finished implementation of strtol for number parsing
Michael D. Lowis [Thu, 8 May 2014 02:42:04 +0000 (22:42 -0400)]
CP: half finished implementation of strtol for number parsing

11 years agomake words externally accessible
Michael D. Lowis [Thu, 8 May 2014 00:59:31 +0000 (20:59 -0400)]
make words externally accessible

11 years agoAdded build targets for 'extensions'. Moved some of the disabled code from slvm.c...
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.

11 years agoBroke dependency on stdlib for vmkernel (also broke number parsing but nevermind...
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

11 years agorearrange comments so real code is at the top. also fix the build for OSX because...
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

11 years agomerged
Michael D. Lowis [Tue, 6 May 2014 00:52:14 +0000 (20:52 -0400)]
merged

11 years agokernel code no longer depends on C standard lib
Michael D. Lowis [Mon, 5 May 2014 20:48:26 +0000 (16:48 -0400)]
kernel code no longer depends on C standard lib

11 years agoUpdated environments in build script. mingw no longer used on non-windows platforms
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

11 years agoAdded 'platform abstraction layer' to abstract out the details of memory allocation...
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

11 years agoAdded name attribute to new dictionary type
Michael D. Lowis [Mon, 5 May 2014 01:46:49 +0000 (21:46 -0400)]
Added name attribute to new dictionary type

11 years agoFixed invalid comment and deleted unused var
Michael D. Lowis [Thu, 1 May 2014 20:42:55 +0000 (16:42 -0400)]
Fixed invalid comment and deleted unused var

11 years agoTweaked behavior of file I/O words and fixed a bug in th estring parser
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

11 years agoFixed compilation using the new parser/interpreter
Michael D. Lowis [Thu, 1 May 2014 16:23:50 +0000 (12:23 -0400)]
Fixed compilation using the new parser/interpreter

11 years agoCP: Partially integrated new parser/compiler
Michael D. Lowis [Thu, 1 May 2014 01:57:37 +0000 (21:57 -0400)]
CP: Partially integrated new parser/compiler

11 years agoNew parser is fully functional with the exception of floats
Michael D. Lowis [Wed, 30 Apr 2014 23:54:15 +0000 (19:54 -0400)]
New parser is fully functional with the exception of floats

11 years agoCP: Token reader is working started to work on token parser
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

11 years agoCP: Parser rewrite. Builds but not functional yet.
Michael D. Lowis [Wed, 30 Apr 2014 12:24:54 +0000 (08:24 -0400)]
CP: Parser rewrite. Builds but not functional yet.

11 years agoCP: Reworking parser with string and char literals as well as different number literals
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

11 years agoAdded a typedef for dictionary definitions
Michael D. Lowis [Tue, 29 Apr 2014 23:32:35 +0000 (19:32 -0400)]
Added a typedef for dictionary definitions

11 years agoSwitch flags field to be a union
Michael D. Lowis [Tue, 29 Apr 2014 23:21:44 +0000 (19:21 -0400)]
Switch flags field to be a union

11 years agoSwitch 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

11 years agoSwitch 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

11 years agoAdded wish list comment to track possible features
Michael D. Lowis [Tue, 29 Apr 2014 20:26:40 +0000 (16:26 -0400)]
Added wish list comment to track possible features

11 years agoAdded file I/O words that map C interfaces to words
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

11 years agofixed if statements using index offsets instead of addresses
Michael D. Lowis [Thu, 24 Apr 2014 02:22:39 +0000 (22:22 -0400)]
fixed if statements using index offsets instead of addresses

11 years agocheckpoint
Michael D. Lowis [Wed, 23 Apr 2014 20:47:25 +0000 (16:47 -0400)]
checkpoint

11 years agoAdded a typedef for values that should match the width of a pointer type. Compile...
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.

11 years agocheckpoint commit
Michael D. Lowis [Wed, 23 Apr 2014 02:09:40 +0000 (22:09 -0400)]
checkpoint commit

11 years agoMoved typedefs and defines to a header and removed some unneeded code in main.c
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

11 years agoWorking 'native' versions of if,else, and then
Michael D. Lowis [Tue, 22 Apr 2014 18:25:27 +0000 (14:25 -0400)]
Working 'native' versions of if,else, and then

11 years agoCHECKPOINT: IF and THEN implementations
Michael D. Lowis [Tue, 22 Apr 2014 02:19:55 +0000 (22:19 -0400)]
CHECKPOINT: IF and THEN implementations

11 years agoFixed updating of here value after comma execution
Michael D. Lowis [Mon, 21 Apr 2014 22:34:21 +0000 (18:34 -0400)]
Fixed updating of here value after comma execution

11 years agocodesize flag now tracks number of bytecodes in the command and comma now uses/update...
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

11 years agoRefactored flags field to be a bitfield and to contain a (currently unused) codesize...
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.

11 years agoBROKEN: attempting to implement a ret instruction instead of null terminating bytecode
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

11 years agoClean-up, restructuring, and debugging of control word implementations
Michael D. Lowis [Mon, 21 Apr 2014 01:56:08 +0000 (21:56 -0400)]
Clean-up, restructuring, and debugging of control word implementations

11 years agoSwapped logic on [ and ], flagged hidden and immediate as immediate words, and took...
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.

11 years agoadded moar comments.
Michael D. Lowis [Sat, 12 Apr 2014 14:29:34 +0000 (10:29 -0400)]
added moar comments.

11 years agoAdded very minimal stack limit checking after execution of each word to *hopefully...
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

11 years agoaddeded memory and byte manipulation implementations
Michael D. Lowis [Fri, 11 Apr 2014 21:04:21 +0000 (17:04 -0400)]
addeded memory and byte manipulation implementations

11 years agoImplemented getting and setting of words
Michael D. Lowis [Fri, 11 Apr 2014 00:49:55 +0000 (20:49 -0400)]
Implemented getting and setting of words

11 years agoFixed the user prompt so it behaves reasonably
Michael D. Lowis [Thu, 10 Apr 2014 23:48:11 +0000 (19:48 -0400)]
Fixed the user prompt so it behaves reasonably

11 years agoAdded more built-in words and added first attempt at branching words
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

11 years agoImplemented basic (non-branching) colon definitions
Michael D. Lowis [Thu, 10 Apr 2014 01:17:19 +0000 (21:17 -0400)]
Implemented basic (non-branching) colon definitions

11 years agoFixed a bug in find that resulted in hidden words being compared
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

11 years agoCheckpoint commit
Michael D. Lowis [Tue, 8 Apr 2014 02:11:16 +0000 (22:11 -0400)]
Checkpoint commit

11 years agocheckpoint
Michael D. Lowis [Fri, 4 Apr 2014 21:01:58 +0000 (17:01 -0400)]
checkpoint

11 years agoReorganized code for readability
Michael D. Lowis [Thu, 3 Apr 2014 02:07:43 +0000 (22:07 -0400)]
Reorganized code for readability

11 years agoImplemented first crack at interpreter
Michael D. Lowis [Wed, 2 Apr 2014 19:48:04 +0000 (15:48 -0400)]
Implemented first crack at interpreter

11 years agoimplemented more builtin words including stdio and compiler specific words
Michael D. Lowis [Wed, 2 Apr 2014 02:02:57 +0000 (22:02 -0400)]
implemented more builtin words including stdio and compiler specific words

11 years agoImplemented arithmetic and bitwise operations as well as some basic stack shuffling...
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

11 years agoadded some basic built-in words
Mike D. Lowis [Tue, 1 Apr 2014 01:43:14 +0000 (21:43 -0400)]
added some basic built-in words

11 years agoAdd default wordlist for forth-style interpeter
Michael D. Lowis [Mon, 31 Mar 2014 20:56:21 +0000 (16:56 -0400)]
Add default wordlist for forth-style interpeter

11 years agoMerge branch 'all-in-one' of github.com:mikedlowis/sclpl into all-in-one
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

11 years agoAdded buildfile to use with 'spade'
Michael D. Lowis [Mon, 31 Mar 2014 20:31:01 +0000 (16:31 -0400)]
Added buildfile to use with 'spade'

12 years agoswitch to scheme based binaries
Michael D. Lowis [Thu, 6 Feb 2014 20:00:44 +0000 (15:00 -0500)]
switch to scheme based binaries

12 years agoIncorporated experimental code from dropbox
Michael D. Lowis [Wed, 29 Jan 2014 21:09:36 +0000 (16:09 -0500)]
Incorporated experimental code from dropbox

12 years agocheckpoint commit before merging prototype 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

12 years agoReplace slas C code with Scheme code
Michael D. Lowis [Fri, 11 Oct 2013 13:57:33 +0000 (09:57 -0400)]
Replace slas C code with Scheme code

12 years agoadded file reading and writing infrastructure
Mike D. Lowis [Thu, 10 Oct 2013 01:25:49 +0000 (21:25 -0400)]
added file reading and writing infrastructure

12 years agoAdded slas and slvm targets and commented out server spawning code in slpkg
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

12 years agore-added -explicit-use option to csc compiler
Michael D. Lowis [Wed, 9 Oct 2013 16:08:21 +0000 (12:08 -0400)]
re-added -explicit-use option to csc compiler

12 years agoAdded target for slpkg
Michael D. Lowis [Wed, 9 Oct 2013 15:35:14 +0000 (11:35 -0400)]
Added target for slpkg