onyx.git
5 years agoBugfixes for foreign function calls
Brendan Hansen [Fri, 19 Jun 2020 17:37:49 +0000 (12:37 -0500)]
Bugfixes for foreign function calls

5 years agoAdded foreign functions (WASM imports)
Brendan Hansen [Fri, 19 Jun 2020 16:05:36 +0000 (11:05 -0500)]
Added foreign functions (WASM imports)

5 years agoStarted work on importing external functions
Brendan Hansen [Fri, 19 Jun 2020 03:09:00 +0000 (22:09 -0500)]
Started work on importing external functions

5 years agoAdded numeric literals and changes to bh_imap
Brendan Hansen [Thu, 18 Jun 2020 20:13:24 +0000 (15:13 -0500)]
Added numeric literals and changes to bh_imap

5 years agoLots of small changes; initial function calling
Brendan Hansen [Thu, 18 Jun 2020 00:09:13 +0000 (19:09 -0500)]
Lots of small changes; initial function calling

5 years agoMany small changes; working on function calls
Brendan Hansen [Wed, 17 Jun 2020 03:37:07 +0000 (22:37 -0500)]
Many small changes; working on function calls
This version does not work for the minimal.onyx.

5 years agoCode clean up and added "start" section output
Brendan Hansen [Tue, 16 Jun 2020 04:12:17 +0000 (23:12 -0500)]
Code clean up and added "start" section output

5 years agoGENERATING A WORKING BINARY!
Brendan Hansen [Mon, 15 Jun 2020 16:02:31 +0000 (11:02 -0500)]
GENERATING A WORKING BINARY!

5 years agoGenerating an actual WASM binary!
Brendan Hansen [Mon, 15 Jun 2020 03:38:36 +0000 (22:38 -0500)]
Generating an actual WASM binary!
No code section right now however; still lots of work to do.

5 years agoStarting to output a binary for real.
Brendan Hansen [Sun, 14 Jun 2020 01:16:18 +0000 (20:16 -0500)]
Starting to output a binary for real.
Added LEB128 encodings

5 years agoAdded flexible buffer implementation
Brendan Hansen [Fri, 12 Jun 2020 03:44:13 +0000 (22:44 -0500)]
Added flexible buffer implementation

5 years agoProgress on basic WASM code generation
Brendan Hansen [Thu, 11 Jun 2020 16:04:12 +0000 (11:04 -0500)]
Progress on basic WASM code generation

5 years agoLots of changes
Brendan Hansen [Thu, 11 Jun 2020 14:02:52 +0000 (09:02 -0500)]
Lots of changes

5 years agoBug fix
Brendan Hansen [Wed, 10 Jun 2020 15:02:22 +0000 (10:02 -0500)]
Bug fix
I don't know how this ever worked...

5 years agoEven more bug fixes for bh_hash
Brendan Hansen [Tue, 9 Jun 2020 20:38:32 +0000 (15:38 -0500)]
Even more bug fixes for bh_hash

5 years agoAnother tiny bugfix on bh_hash implementation
Brendan Hansen [Tue, 9 Jun 2020 17:04:45 +0000 (12:04 -0500)]
Another tiny bugfix on bh_hash implementation

5 years agoBug fix in new bh_hash implementation
Brendan Hansen [Tue, 9 Jun 2020 15:09:00 +0000 (10:09 -0500)]
Bug fix in new bh_hash implementation

5 years agoChanged implementation for bh_hash
Brendan Hansen [Tue, 9 Jun 2020 15:02:24 +0000 (10:02 -0500)]
Changed implementation for bh_hash

5 years agoAdded exports to WASM Module and other bug fixes
Brendan Hansen [Tue, 9 Jun 2020 13:01:20 +0000 (08:01 -0500)]
Added exports to WASM Module and other bug fixes

5 years agoBug fixes
Brendan Hansen [Fri, 5 Jun 2020 02:19:32 +0000 (21:19 -0500)]
Bug fixes

5 years agoChanged comment syntax
Brendan Hansen [Fri, 5 Jun 2020 02:11:25 +0000 (21:11 -0500)]
Changed comment syntax

5 years agoStarting work on WASM code generation
Brendan Hansen [Thu, 4 Jun 2020 15:52:33 +0000 (10:52 -0500)]
Starting work on WASM code generation

5 years agoSpelling fix
Brendan Hansen [Wed, 3 Jun 2020 16:27:03 +0000 (11:27 -0500)]
Spelling fix

5 years agoBug fixes; preparing to start WASM code gen
Brendan Hansen [Tue, 2 Jun 2020 21:03:42 +0000 (16:03 -0500)]
Bug fixes; preparing to start WASM code gen

5 years agoStarted using CCLS instead of clangd
Brendan Hansen [Tue, 2 Jun 2020 03:15:44 +0000 (22:15 -0500)]
Started using CCLS instead of clangd

5 years agoCleaning up directory structure
Brendan Hansen [Tue, 2 Jun 2020 02:22:51 +0000 (21:22 -0500)]
Cleaning up directory structure

5 years agoBetter parse tree printer and some type checking
Brendan Hansen [Tue, 2 Jun 2020 01:05:14 +0000 (20:05 -0500)]
Better parse tree printer and some type checking

5 years agoImplemented #12
Brendan Hansen [Tue, 26 May 2020 21:11:06 +0000 (16:11 -0500)]
Implemented #12

5 years agoStarting on the semantic pass phase
Brendan Hansen [Mon, 25 May 2020 21:47:38 +0000 (16:47 -0500)]
Starting on the semantic pass phase

5 years agobug fixes for params shadowing
Brendan Hansen [Sun, 24 May 2020 16:47:59 +0000 (11:47 -0500)]
bug fixes for params shadowing

5 years agoMore parser progress; added notion of 'const'
Brendan Hansen [Sat, 23 May 2020 20:07:14 +0000 (15:07 -0500)]
More parser progress; added notion of 'const'

5 years agoI hate windows line endings; other small changes; Implemented #11
Brendan Hansen [Sat, 23 May 2020 19:10:19 +0000 (14:10 -0500)]
I hate windows line endings; other small changes; Implemented #11

5 years agoMore parse progress
Brendan Hansen [Sat, 23 May 2020 02:00:10 +0000 (21:00 -0500)]
More parse progress

5 years agoBugfix for negatives in bh_printf
Brendan Hansen [Thu, 21 May 2020 04:09:29 +0000 (23:09 -0500)]
Bugfix for negatives in bh_printf

5 years agoSmall bugfixes for bh_printf family
Brendan Hansen [Thu, 21 May 2020 03:45:13 +0000 (22:45 -0500)]
Small bugfixes for bh_printf family

5 years agoMade custom printf good enough to replace stdio printf for now (lots of missing funct...
Brendan Hansen [Thu, 21 May 2020 03:27:50 +0000 (22:27 -0500)]
Made custom printf good enough to replace stdio printf for now (lots of missing functionality)

5 years agoWorking on parser and custom printf alternative
Brendan Hansen [Thu, 21 May 2020 02:36:27 +0000 (21:36 -0500)]
Working on parser and custom printf alternative

5 years agoWorking more on the parser
Brendan Hansen [Tue, 19 May 2020 22:59:20 +0000 (17:59 -0500)]
Working more on the parser

5 years agoProgress on the initial parser #1
Brendan Hansen [Tue, 19 May 2020 03:28:31 +0000 (22:28 -0500)]
Progress on the initial parser #1

5 years agoSmall bugfix on Arena Allocator
Brendan Hansen [Mon, 18 May 2020 04:01:37 +0000 (23:01 -0500)]
Small bugfix on Arena Allocator

5 years agoGetting ready to start the initial parser
Brendan Hansen [Mon, 18 May 2020 03:28:28 +0000 (22:28 -0500)]
Getting ready to start the initial parser

5 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Sun, 17 May 2020 18:14:39 +0000 (13:14 -0500)]
Merge remote-tracking branch 'origin/master'

5 years agoSmall bugfix will pointer math
Brendan Hansen [Sun, 17 May 2020 18:02:45 +0000 (13:02 -0500)]
Small bugfix will pointer math

5 years agoSmall bugfix will pointer math
Brendan Hansen [Sun, 17 May 2020 18:02:45 +0000 (13:02 -0500)]
Small bugfix will pointer math

5 years agoImplemented Allow Arena allocator to create more arenas #10
Brendan Hansen [Sun, 17 May 2020 17:58:51 +0000 (12:58 -0500)]
Implemented Allow Arena allocator to create more arenas #10

5 years agoCode cleanup
Brendan Hansen [Sun, 17 May 2020 16:45:59 +0000 (11:45 -0500)]
Code cleanup

5 years agoApparently my "nofree" allocator is actually called an arena allocator
Brendan Hansen [Sun, 17 May 2020 04:33:24 +0000 (23:33 -0500)]
Apparently my "nofree" allocator is actually called an arena allocator

5 years agoSmall bug / performance fix
Brendan Hansen [Fri, 15 May 2020 19:50:26 +0000 (14:50 -0500)]
Small bug / performance fix

5 years agoAdded custom allocator capability to hashtables
Brendan Hansen [Fri, 15 May 2020 19:20:35 +0000 (14:20 -0500)]
Added custom allocator capability to hashtables

5 years agoSpelling fix
Brendan Hansen [Fri, 15 May 2020 17:45:35 +0000 (12:45 -0500)]
Spelling fix

5 years agoAdded custom allocators (heap and nofree allocators) #8 #9
Brendan Hansen [Fri, 15 May 2020 17:42:48 +0000 (12:42 -0500)]
Added custom allocators (heap and nofree allocators) #8 #9

5 years agoPushing changes at end of day
Brendan Hansen [Fri, 15 May 2020 03:15:10 +0000 (22:15 -0500)]
Pushing changes at end of day

5 years agoFixed Last tokens produced by tokenizer appear to be wrong. #7
Brendan Hansen [Thu, 14 May 2020 22:18:33 +0000 (17:18 -0500)]
Fixed Last tokens produced by tokenizer appear to be wrong. #7

5 years agoFixed Tokenizer producing wrong line number and column #6
Brendan Hansen [Thu, 14 May 2020 22:05:10 +0000 (17:05 -0500)]
Fixed Tokenizer producing wrong line number and column #6

5 years agoSmall memory improvement for hashtable iterators
Brendan Hansen [Thu, 14 May 2020 21:35:55 +0000 (16:35 -0500)]
Small memory improvement for hashtable iterators

5 years agoSmall fixes to safety of hash iterator
Brendan Hansen [Thu, 14 May 2020 17:23:31 +0000 (12:23 -0500)]
Small fixes to safety of hash iterator

5 years agoAdded hash table iteration
Brendan Hansen [Thu, 14 May 2020 15:40:30 +0000 (10:40 -0500)]
Added hash table iteration

5 years agoAdded hashtable implementation and working on strings
Brendan Hansen [Wed, 13 May 2020 20:00:23 +0000 (15:00 -0500)]
Added hashtable implementation and working on strings

5 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Tue, 12 May 2020 23:34:09 +0000 (18:34 -0500)]
Merge remote-tracking branch 'origin/master'

5 years agoCommiting at end of day. Working on rewriting the bh_string library to include better...
Brendan Hansen [Tue, 12 May 2020 23:33:38 +0000 (18:33 -0500)]
Commiting at end of day. Working on rewriting the bh_string library to include better support for C-strs

5 years agoCommiting at end of day. Working on rewriting the bh_string library to include better...
Brendan Hansen [Tue, 12 May 2020 23:33:38 +0000 (18:33 -0500)]
Commiting at end of day. Working on rewriting the bh_string library to include better support for C-strs

5 years agoFinished bh_arr
Brendan Hansen [Tue, 12 May 2020 20:03:58 +0000 (15:03 -0500)]
Finished bh_arr

5 years agoSplit project up and working on bh_arr
Brendan Hansen [Mon, 11 May 2020 22:29:00 +0000 (17:29 -0500)]
Split project up and working on bh_arr

5 years agoupdates
Brendan Hansen [Mon, 11 May 2020 14:42:45 +0000 (09:42 -0500)]
updates

5 years agoWorking on the tokenizer
Brendan Hansen [Wed, 6 May 2020 19:58:54 +0000 (14:58 -0500)]
Working on the tokenizer

5 years agoLots of progress on file API
Brendan Hansen [Tue, 5 May 2020 23:34:58 +0000 (18:34 -0500)]
Lots of progress on file API

5 years agoStarting to work on files
Brendan Hansen [Tue, 5 May 2020 21:41:12 +0000 (16:41 -0500)]
Starting to work on files

5 years agoAdding more string functionality
Brendan Hansen [Mon, 4 May 2020 20:14:56 +0000 (15:14 -0500)]
Adding more string functionality

5 years agoWorking on string library
Brendan Hansen [Mon, 4 May 2020 03:21:53 +0000 (22:21 -0500)]
Working on string library

5 years agoWorking on custom library for C development
Brendan Hansen [Mon, 4 May 2020 00:10:13 +0000 (19:10 -0500)]
Working on custom library for C development

5 years agoStarting file reading
Brendan Hansen [Fri, 1 May 2020 19:07:41 +0000 (14:07 -0500)]
Starting file reading

5 years agoInitial commit
Brendan Hansen [Fri, 1 May 2020 18:48:05 +0000 (13:48 -0500)]
Initial commit