]> git.mdlowis.com Git - proto/obnc.git/log
proto/obnc.git
4 years agosplit up and reorganized files
Michael D. Lowis [Thu, 29 Apr 2021 15:59:56 +0000 (11:59 -0400)]
split up and reorganized files

4 years agoadded if statement to parser. need to add codegen hooks
mike lowis [Thu, 29 Apr 2021 03:28:18 +0000 (23:28 -0400)]
added if statement to parser. need to add codegen hooks

4 years agoadded handling of most operators
Michael D. Lowis [Wed, 28 Apr 2021 18:50:06 +0000 (14:50 -0400)]
added handling of most operators

4 years agostarted fleshing out a C backend
Michael D. Lowis [Wed, 28 Apr 2021 17:44:49 +0000 (13:44 -0400)]
started fleshing out a C backend

4 years agoreorganized folder strcuture to allow fo rmultipl backends
Michael D. Lowis [Wed, 28 Apr 2021 15:17:52 +0000 (11:17 -0400)]
reorganized folder strcuture to allow fo rmultipl backends

4 years agoadded more operations
mike lowis [Wed, 28 Apr 2021 03:03:00 +0000 (23:03 -0400)]
added more operations

4 years agofleshed out more kinds of operations
mike lowis [Tue, 27 Apr 2021 03:55:04 +0000 (23:55 -0400)]
fleshed out more kinds of operations

4 years agoadded a single case of code generation for binary operators using variables
mike lowis [Mon, 26 Apr 2021 03:36:17 +0000 (23:36 -0400)]
added a single case of code generation for binary operators using variables

4 years agotweaked module code generation. global var references don't work yet
mike lowis [Fri, 23 Apr 2021 02:56:20 +0000 (22:56 -0400)]
tweaked module code generation. global var references don't work yet

4 years agoadd calls to module init functions
mike lowis [Fri, 23 Apr 2021 02:00:35 +0000 (22:00 -0400)]
add calls to module init functions

4 years agoadded code to define variables
Michael D. Lowis [Thu, 22 Apr 2021 20:45:18 +0000 (16:45 -0400)]
added code to define variables

4 years agogot primitive code generation working for assignments
Michael D. Lowis [Thu, 22 Apr 2021 20:12:28 +0000 (16:12 -0400)]
got primitive code generation working for assignments

4 years agoscaffolding is in place for assignment statements. Need to decipher level handling...
Michael D. Lowis [Thu, 22 Apr 2021 13:46:52 +0000 (09:46 -0400)]
scaffolding is in place for assignment statements. Need to decipher level handling and generate the proper code for the assignments (and expressions)

4 years agoadded scaffolding to generate assembly code
mike lowis [Thu, 22 Apr 2021 02:06:48 +0000 (22:06 -0400)]
added scaffolding to generate assembly code

4 years agoreformatted OSP.mod for readability. Started building parser rules for statements...
Michael D. Lowis [Wed, 21 Apr 2021 20:25:41 +0000 (16:25 -0400)]
reformatted OSP.mod for readability. Started building parser rules for statements. Focusing on if statements, assignments, and function calls first

4 years agoadded module-level variable declarations
Michael D. Lowis [Wed, 21 Apr 2021 19:46:00 +0000 (15:46 -0400)]
added module-level variable declarations

4 years agocondensed constant declaration tests
Michael D. Lowis [Wed, 21 Apr 2021 17:58:42 +0000 (13:58 -0400)]
condensed constant declaration tests

4 years agorearranged grammar to minimize need for forward declarations
Michael D. Lowis [Wed, 21 Apr 2021 17:55:34 +0000 (13:55 -0400)]
rearranged grammar to minimize need for forward declarations

4 years agoimplemented constant identifier lookups
mike lowis [Wed, 21 Apr 2021 03:33:30 +0000 (23:33 -0400)]
implemented constant identifier lookups

4 years agoconstant expressions are almost completely implemented. need to add identifier lookups
mike lowis [Wed, 21 Apr 2021 02:41:05 +0000 (22:41 -0400)]
constant expressions are almost completely implemented. need to add identifier lookups

4 years agoadded scaffolding for arithmetic operators. will fill in details later for constant...
Michael D. Lowis [Tue, 20 Apr 2021 20:55:15 +0000 (16:55 -0400)]
added scaffolding for arithmetic operators. will fill in details later for constant calculations

4 years agostarted implementing item based transformation based on oberon0 compiler
Michael D. Lowis [Tue, 20 Apr 2021 19:28:35 +0000 (15:28 -0400)]
started implementing item based transformation based on oberon0 compiler

4 years agoAdd oberon0 code from wirth for reference
Michael D. Lowis [Tue, 20 Apr 2021 19:28:02 +0000 (15:28 -0400)]
Add oberon0 code from wirth for reference

4 years agoimplemented basic constant folding ops..
mike lowis [Tue, 20 Apr 2021 03:44:07 +0000 (23:44 -0400)]
implemented basic constant folding ops..

4 years agoadded global and local symbol list
Michael D. Lowis [Mon, 19 Apr 2021 20:33:26 +0000 (16:33 -0400)]
added global and local symbol list

4 years agoadded scaffolding for constant expression evaluation and code generation
Michael D. Lowis [Mon, 19 Apr 2021 20:31:32 +0000 (16:31 -0400)]
added scaffolding for constant expression evaluation and code generation

4 years agoadded codegen module
mike lowis [Mon, 19 Apr 2021 03:35:47 +0000 (23:35 -0400)]
added codegen module

4 years agoadded rule macro to automatically add tracing code
mike lowis [Mon, 19 Apr 2021 01:09:45 +0000 (21:09 -0400)]
added rule macro to automatically add tracing code

4 years agoadded parser scaffolding ofr expressions
mike lowis [Sat, 17 Apr 2021 04:00:27 +0000 (00:00 -0400)]
added parser scaffolding ofr expressions

4 years agoAdded module and import list rules
Michael D. Lowis [Fri, 16 Apr 2021 20:10:25 +0000 (16:10 -0400)]
Added module and import list rules

4 years agoimplemented basic module skeleton parsing
Michael D. Lowis [Fri, 16 Apr 2021 18:22:48 +0000 (14:22 -0400)]
implemented basic module skeleton parsing

4 years agooptimized lexer table
Michael D. Lowis [Fri, 16 Apr 2021 15:49:09 +0000 (11:49 -0400)]
optimized  lexer table

4 years agoimplemented lexer based on oberon spec
mike lowis [Fri, 16 Apr 2021 03:02:06 +0000 (23:02 -0400)]
implemented lexer based on oberon spec

4 years agoremoved unused builtins
mike lowis [Fri, 16 Apr 2021 00:09:26 +0000 (20:09 -0400)]
removed unused builtins

4 years agoadded build script, removed unnecessary files, and changed name
Michael D. Lowis [Thu, 15 Apr 2021 20:25:13 +0000 (16:25 -0400)]
added build script, removed unnecessary files, and changed name

4 years agoplopped in code for a simple compiler based on sclpl. Will start reworking it into...
Michael D. Lowis [Thu, 15 Apr 2021 17:22:18 +0000 (13:22 -0400)]
plopped in code for a simple compiler based on sclpl. Will start reworking it into an Oberon/Cerise compiler

4 years agoignore generated files
Michael D. Lowis [Wed, 14 Apr 2021 20:42:49 +0000 (16:42 -0400)]
ignore generated files

4 years agoremoved generated files
Michael D. Lowis [Wed, 14 Apr 2021 18:41:48 +0000 (14:41 -0400)]
removed generated files

4 years agoupdated wording of terminal symbols
Michael D. Lowis [Wed, 14 Apr 2021 15:08:01 +0000 (11:08 -0400)]
updated wording of terminal symbols

4 years agoremoved remnants of removed binaries
Michael D. Lowis [Wed, 14 Apr 2021 15:07:41 +0000 (11:07 -0400)]
removed remnants of removed binaries

4 years agoupdated spec to match current compiler
mike lowis [Wed, 14 Apr 2021 03:15:43 +0000 (23:15 -0400)]
updated spec to match current compiler

4 years agoreworked logical operators
mike lowis [Tue, 13 Apr 2021 03:07:05 +0000 (23:07 -0400)]
reworked logical operators

4 years agoupdated spec based on current implementation
Michael D. Lowis [Mon, 12 Apr 2021 20:28:16 +0000 (16:28 -0400)]
updated spec based on current implementation

4 years agoupdated documentation
mike lowis [Mon, 12 Apr 2021 02:15:55 +0000 (22:15 -0400)]
updated documentation

4 years agochange not equal operator from # to !=
mike lowis [Mon, 12 Apr 2021 01:38:22 +0000 (21:38 -0400)]
change not equal operator from # to !=

4 years agoupdated docs
mike lowis [Mon, 12 Apr 2021 00:41:45 +0000 (20:41 -0400)]
updated docs

4 years agoremoved set types from the language
mike lowis [Sun, 11 Apr 2021 03:12:51 +0000 (23:12 -0400)]
removed set types from the language

4 years agoremoved set type and set operators
mike lowis [Sun, 11 Apr 2021 01:56:35 +0000 (21:56 -0400)]
removed set type and set operators

4 years agoremove invalid documentation
mike lowis [Sat, 10 Apr 2021 02:47:25 +0000 (22:47 -0400)]
remove invalid documentation

4 years agoremove unused stuff from install scripts
mike lowis [Sat, 10 Apr 2021 02:28:07 +0000 (22:28 -0400)]
remove unused stuff from install scripts

4 years agoINCL EXCL to Include Exclude
mike lowis [Sat, 10 Apr 2021 00:37:58 +0000 (20:37 -0400)]
INCL EXCL to Include Exclude

4 years agoABS to Abs
mike lowis [Sat, 10 Apr 2021 00:36:05 +0000 (20:36 -0400)]
ABS to Abs

4 years agoFLOOR to Floor
mike lowis [Sat, 10 Apr 2021 00:34:48 +0000 (20:34 -0400)]
FLOOR to Floor

4 years agoINC DEC to Increment and Decrement
mike lowis [Sat, 10 Apr 2021 00:33:44 +0000 (20:33 -0400)]
INC DEC to Increment and Decrement

4 years agoFLT ORD CHR to AsReal AsInt AsChar
mike lowis [Sat, 10 Apr 2021 00:31:11 +0000 (20:31 -0400)]
FLT ORD CHR to AsReal AsInt AsChar

4 years agoremoved ASR and LSL
mike lowis [Sat, 10 Apr 2021 00:23:26 +0000 (20:23 -0400)]
removed ASR and LSL

4 years agoRemoved PACK ROR and UNPK
mike lowis [Sat, 10 Apr 2021 00:19:46 +0000 (20:19 -0400)]
Removed PACK ROR and UNPK

4 years agochanged LEN to Length
mike lowis [Fri, 9 Apr 2021 20:37:06 +0000 (16:37 -0400)]
changed LEN to Length

4 years agochanged ASSERT to Assert and NEW to New
mike lowis [Fri, 9 Apr 2021 20:13:47 +0000 (16:13 -0400)]
changed ASSERT to Assert and NEW to New

4 years agoremoved ODD()
mike lowis [Fri, 9 Apr 2021 18:40:52 +0000 (14:40 -0400)]
removed ODD()

4 years agoChanged SET to Set
mike lowis [Fri, 9 Apr 2021 18:27:09 +0000 (14:27 -0400)]
Changed SET to Set

4 years agoremoved extra tools to minimize things in need of updates in the future
mike lowis [Fri, 9 Apr 2021 17:03:36 +0000 (13:03 -0400)]
removed extra tools to minimize things in need of updates in the future

4 years agochanged case of some builtin types
mike lowis [Fri, 9 Apr 2021 16:38:49 +0000 (12:38 -0400)]
changed case of some builtin types

4 years agoreformatted predefined types. Broken, but close
mike lowis [Fri, 9 Apr 2021 03:16:18 +0000 (23:16 -0400)]
reformatted predefined types. Broken, but close

4 years agoupdated tests
mike lowis [Fri, 9 Apr 2021 01:15:49 +0000 (21:15 -0400)]
updated tests

4 years agochange all keywords to lowercase
mike lowis [Fri, 9 Apr 2021 00:42:08 +0000 (20:42 -0400)]
change all keywords to lowercase

4 years agoinitial commit
mike lowis [Thu, 8 Apr 2021 23:46:22 +0000 (19:46 -0400)]
initial commit