onyx.git
4 years agostruct literals work with new argument filling system
Brendan Hansen [Thu, 14 Jan 2021 22:38:55 +0000 (16:38 -0600)]
struct literals work with new argument filling system

4 years agostarted working on refactoring named arguments
Brendan Hansen [Thu, 14 Jan 2021 22:07:59 +0000 (16:07 -0600)]
started working on refactoring named arguments

4 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Thu, 14 Jan 2021 18:42:34 +0000 (12:42 -0600)]
Merge remote-tracking branch 'origin/master'

4 years agoadded pool allocator to core library
Brendan Hansen [Thu, 14 Jan 2021 18:41:52 +0000 (12:41 -0600)]
added pool allocator to core library

4 years agoadded pool allocator to core library
Brendan Hansen [Thu, 14 Jan 2021 18:41:52 +0000 (12:41 -0600)]
added pool allocator to core library

4 years agopolymorphic proc generation optimization
Brendan Hansen [Thu, 14 Jan 2021 02:46:16 +0000 (20:46 -0600)]
polymorphic proc generation optimization

4 years agojust random changes
Brendan Hansen [Wed, 13 Jan 2021 23:33:28 +0000 (17:33 -0600)]
just random changes

4 years agoadded struct and enum examples
Brendan Hansen [Wed, 13 Jan 2021 23:26:54 +0000 (17:26 -0600)]
added struct and enum examples

4 years agoarrays can cast to slices of the same type
Brendan Hansen [Wed, 13 Jan 2021 23:26:19 +0000 (17:26 -0600)]
arrays can cast to slices of the same type

4 years agoadded operator overload test case
Brendan Hansen [Wed, 13 Jan 2021 23:26:00 +0000 (17:26 -0600)]
added operator overload test case

4 years agoMerge pull request #34 from Graylunchbox74/master
Brendan Hansen [Tue, 12 Jan 2021 23:12:32 +0000 (17:12 -0600)]
Merge pull request #34 from Graylunchbox74/master

added pow function

4 years agoadded pow function
Graylunchbox74 [Tue, 12 Jan 2021 23:08:22 +0000 (17:08 -0600)]
added pow function

4 years agoupdated CHANGELOG; minor bug fixes
Brendan Hansen [Tue, 12 Jan 2021 22:23:08 +0000 (16:23 -0600)]
updated CHANGELOG; minor bug fixes

4 years agofixed infinite loop bug with multiple declarations
Brendan Hansen [Tue, 12 Jan 2021 21:31:25 +0000 (15:31 -0600)]
fixed infinite loop bug with multiple declarations

4 years agobetter handling for type solidification in compound expressions
Brendan Hansen [Tue, 12 Jan 2021 21:22:45 +0000 (15:22 -0600)]
better handling for type solidification in compound expressions

4 years agoupdated io.stream to use multiple return values; small mrv bug fixes
Brendan Hansen [Tue, 12 Jan 2021 21:06:23 +0000 (15:06 -0600)]
updated io.stream to use multiple return values; small mrv bug fixes

4 years agoMerge pull request #33 from brendanfh/multiple-returns
Brendan Hansen [Tue, 12 Jan 2021 20:34:48 +0000 (14:34 -0600)]
Merge pull request #33 from brendanfh/multiple-returns

Multiple returns #32

4 years agoadded test case for multiple returns/declarations
Brendan Hansen [Tue, 12 Jan 2021 20:33:40 +0000 (14:33 -0600)]
added test case for multiple returns/declarations

4 years agomultiple declarations work in procedure bodies
Brendan Hansen [Tue, 12 Jan 2021 20:32:07 +0000 (14:32 -0600)]
multiple declarations work in procedure bodies

4 years agopolymorphic variables on compound types
Brendan Hansen [Tue, 12 Jan 2021 16:49:40 +0000 (10:49 -0600)]
polymorphic variables on compound types

4 years agofinalized returning multiple values
Brendan Hansen [Tue, 12 Jan 2021 16:13:38 +0000 (10:13 -0600)]
finalized returning multiple values

4 years agobegan work on multiple return values
Brendan Hansen [Tue, 12 Jan 2021 04:22:12 +0000 (22:22 -0600)]
began work on multiple return values

4 years agoimplemented #27
Brendan Hansen [Mon, 11 Jan 2021 21:50:37 +0000 (15:50 -0600)]
implemented #27

4 years agosmall cleanup with parameters being mutable now
Brendan Hansen [Mon, 11 Jan 2021 18:59:26 +0000 (12:59 -0600)]
small cleanup with parameters being mutable now

4 years agominor changes to parameter logic
Brendan Hansen [Mon, 11 Jan 2021 18:32:04 +0000 (12:32 -0600)]
minor changes to parameter logic

4 years agominor bug fixes with polymorphic procedures
Brendan Hansen [Mon, 11 Jan 2021 14:39:40 +0000 (08:39 -0600)]
minor bug fixes with polymorphic procedures

4 years agopolymorphic procedures are allowed in overloaded functions
Brendan Hansen [Mon, 11 Jan 2021 05:39:30 +0000 (23:39 -0600)]
polymorphic procedures are allowed in overloaded functions

4 years agocode cleanup making new ast nodes
Brendan Hansen [Sun, 10 Jan 2021 22:16:17 +0000 (16:16 -0600)]
code cleanup making new ast nodes

4 years agosmall improvements
Brendan Hansen [Sun, 10 Jan 2021 17:14:00 +0000 (11:14 -0600)]
small improvements

4 years agobug fix with invalid binary operator in modify-assignment
Brendan Hansen [Sun, 10 Jan 2021 16:20:59 +0000 (10:20 -0600)]
bug fix with invalid binary operator in modify-assignment

4 years agocleaner code for operator overloading
Brendan Hansen [Sun, 10 Jan 2021 14:41:35 +0000 (08:41 -0600)]
cleaner code for operator overloading

4 years agobetter error checking for operator overloading
Brendan Hansen [Sun, 10 Jan 2021 05:36:36 +0000 (23:36 -0600)]
better error checking for operator overloading

4 years agoadded basics of operator overloading
Brendan Hansen [Sun, 10 Jan 2021 01:06:22 +0000 (19:06 -0600)]
added basics of operator overloading

4 years agostarted working on abstract stream api
Brendan Hansen [Sat, 9 Jan 2021 20:49:25 +0000 (14:49 -0600)]
started working on abstract stream api

4 years agosmall bug fixes with polymorphic struct errors
Brendan Hansen [Sat, 9 Jan 2021 16:02:04 +0000 (10:02 -0600)]
small bug fixes with polymorphic struct errors

4 years agocleaned up type parsing
Brendan Hansen [Sat, 9 Jan 2021 05:11:22 +0000 (23:11 -0600)]
cleaned up type parsing

4 years agovarious little bug fixes around the code
Brendan Hansen [Fri, 8 Jan 2021 23:19:30 +0000 (17:19 -0600)]
various little bug fixes around the code

4 years agopolymorphic structures have compile time known arguments
Brendan Hansen [Fri, 8 Jan 2021 19:58:28 +0000 (13:58 -0600)]
polymorphic structures have compile time known arguments

4 years agoadded easier way to do types in value expressions
Brendan Hansen [Fri, 8 Jan 2021 00:40:30 +0000 (18:40 -0600)]
added easier way to do types in value expressions

4 years agosmall bug fixes with polymorphic array lengths
Brendan Hansen [Thu, 7 Jan 2021 23:03:35 +0000 (17:03 -0600)]
small bug fixes with polymorphic array lengths

4 years agoarray types are polymorphic on size
Brendan Hansen [Thu, 7 Jan 2021 22:32:41 +0000 (16:32 -0600)]
array types are polymorphic on size

4 years agoupdating documents and small bugfix
Brendan Hansen [Thu, 7 Jan 2021 22:32:26 +0000 (16:32 -0600)]
updating documents and small bugfix

4 years agoadded some examples; small bug fix
Brendan Hansen [Thu, 7 Jan 2021 18:41:01 +0000 (12:41 -0600)]
added some examples; small bug fix

4 years agoremoved old argument code; preparing for named arguments
Brendan Hansen [Wed, 6 Jan 2021 19:19:47 +0000 (13:19 -0600)]
removed old argument code; preparing for named arguments

4 years agodefault values are no longer immediately type checked
Brendan Hansen [Wed, 6 Jan 2021 18:08:59 +0000 (12:08 -0600)]
default values are no longer immediately type checked

4 years agofixed the broken test case and a gnarly bug
Brendan Hansen [Wed, 6 Jan 2021 15:46:50 +0000 (09:46 -0600)]
fixed the broken test case and a gnarly bug

4 years agochanged cast logic; a test case is not correct at the moment
Brendan Hansen [Wed, 6 Jan 2021 05:24:49 +0000 (23:24 -0600)]
changed cast logic; a test case is not correct at the moment

4 years agomoved some logic from symbol resolution to type checking
Brendan Hansen [Wed, 6 Jan 2021 03:19:52 +0000 (21:19 -0600)]
moved some logic from symbol resolution to type checking

4 years ago`defer` has better semantics with targeted jump statements
Brendan Hansen [Wed, 6 Jan 2021 00:55:59 +0000 (18:55 -0600)]
`defer` has better semantics with targeted jump statements

4 years agocode cleanup in checker and symres
Brendan Hansen [Tue, 5 Jan 2021 16:55:34 +0000 (10:55 -0600)]
code cleanup in checker and symres

4 years agofix onyx-build.yml again
Brendan Hansen [Tue, 5 Jan 2021 02:19:33 +0000 (20:19 -0600)]
fix onyx-build.yml again

4 years agofix onyx-build.yml
Brendan Hansen [Tue, 5 Jan 2021 02:17:59 +0000 (20:17 -0600)]
fix onyx-build.yml

4 years agoremoved old Makefile; just use build.sh or build.bat
Brendan Hansen [Tue, 5 Jan 2021 02:16:44 +0000 (20:16 -0600)]
removed old Makefile; just use build.sh or build.bat

4 years agoupdated CHANGELOG
Brendan Hansen [Tue, 5 Jan 2021 02:04:12 +0000 (20:04 -0600)]
updated CHANGELOG

4 years agocompiling with more warnings for cleaner code
Brendan Hansen [Tue, 5 Jan 2021 01:51:10 +0000 (19:51 -0600)]
compiling with more warnings for cleaner code

4 years agosmall updates; getting more working with Windows
Brendan Hansen [Tue, 5 Jan 2021 00:05:30 +0000 (18:05 -0600)]
small updates; getting more working with Windows

4 years agoWindows compilation is working!
Brendan Hansen [Mon, 4 Jan 2021 23:22:13 +0000 (17:22 -0600)]
Windows compilation is working!

4 years agoarray literal assignment optimization
Brendan Hansen [Mon, 4 Jan 2021 20:15:30 +0000 (14:15 -0600)]
array literal assignment optimization

4 years agoraw_alloc and raw_resize can take an alignment argument
Brendan Hansen [Mon, 4 Jan 2021 15:40:54 +0000 (09:40 -0600)]
raw_alloc and raw_resize can take an alignment argument

4 years agostruct member defaults are processed later in the pipeline
Brendan Hansen [Mon, 4 Jan 2021 15:26:22 +0000 (09:26 -0600)]
struct member defaults are processed later in the pipeline

4 years agostill working on Windows compilation
Brendan Hansen [Mon, 4 Jan 2021 03:39:22 +0000 (21:39 -0600)]
still working on Windows compilation

4 years agostupid shell single vs double quotes
Brendan Hansen [Mon, 4 Jan 2021 01:52:12 +0000 (19:52 -0600)]
stupid shell single vs double quotes

4 years agoworking towards Windows compilation
Brendan Hansen [Mon, 4 Jan 2021 01:45:14 +0000 (19:45 -0600)]
working towards Windows compilation

4 years ago'#include_file' -> '#load'; '#include_folder' -> '#load_path'
Brendan Hansen [Sun, 3 Jan 2021 15:52:05 +0000 (09:52 -0600)]
'#include_file' -> '#load'; '#include_folder' -> '#load_path'

4 years agorandom little changes
Brendan Hansen [Sat, 2 Jan 2021 04:06:12 +0000 (22:06 -0600)]
random little changes

4 years agofix auto-cast bug with overloaded procs
Brendan Hansen [Fri, 1 Jan 2021 20:17:11 +0000 (14:17 -0600)]
fix auto-cast bug with overloaded procs

4 years agoadded compile time procedures test case
Brendan Hansen [Thu, 31 Dec 2020 17:41:58 +0000 (11:41 -0600)]
added compile time procedures test case

4 years agoadded 'null_proc' to syntax definitions
Brendan Hansen [Thu, 31 Dec 2020 17:39:55 +0000 (11:39 -0600)]
added 'null_proc' to syntax definitions

4 years agoadded 'null_proc' to builtin.onyx
Brendan Hansen [Thu, 31 Dec 2020 17:32:33 +0000 (11:32 -0600)]
added 'null_proc' to builtin.onyx
represents a procedure that matches every type; used for having a 'null' procedure when one isn't necessary

4 years agoprocedures are compile time known
Brendan Hansen [Thu, 31 Dec 2020 14:41:13 +0000 (08:41 -0600)]
procedures are compile time known

4 years agoadded a LOT of test cases (from AOC 2020)
Brendan Hansen [Thu, 31 Dec 2020 04:52:12 +0000 (22:52 -0600)]
added a LOT of test cases (from AOC 2020)

4 years agocleaning up more things
Brendan Hansen [Thu, 31 Dec 2020 04:22:15 +0000 (22:22 -0600)]
cleaning up more things

4 years agocleaning up directory structure
Brendan Hansen [Thu, 31 Dec 2020 04:18:32 +0000 (22:18 -0600)]
cleaning up directory structure

4 years agolaid out what examples need to be written
Brendan Hansen [Wed, 30 Dec 2020 22:52:39 +0000 (16:52 -0600)]
laid out what examples need to be written

4 years agoadded very verbose output option, '-VV'
Brendan Hansen [Wed, 30 Dec 2020 22:52:19 +0000 (16:52 -0600)]
added very verbose output option, '-VV'

4 years agosmall bugfix with field access with no type
Brendan Hansen [Wed, 30 Dec 2020 22:51:33 +0000 (16:51 -0600)]
small bugfix with field access with no type

4 years agocode cleanup with `use` on struct variables
Brendan Hansen [Wed, 30 Dec 2020 19:40:56 +0000 (13:40 -0600)]
code cleanup with `use` on struct variables

4 years agogetting rid of those fricken tabs
Brendan Hansen [Wed, 30 Dec 2020 19:18:59 +0000 (13:18 -0600)]
getting rid of those fricken tabs

4 years agodeleted old doc file
Brendan Hansen [Wed, 30 Dec 2020 17:57:50 +0000 (11:57 -0600)]
deleted old doc file

4 years agoupdated CHANGELOG
Brendan Hansen [Wed, 30 Dec 2020 16:26:14 +0000 (10:26 -0600)]
updated CHANGELOG

4 years agosmall bugfix with enum values being of the wrong type
Brendan Hansen [Wed, 30 Dec 2020 15:33:23 +0000 (09:33 -0600)]
small bugfix with enum values being of the wrong type

4 years agoupdated test case output
Brendan Hansen [Wed, 30 Dec 2020 13:48:17 +0000 (07:48 -0600)]
updated test case output

4 years agoadded more to struct_robustness; parsing bug fix
Brendan Hansen [Wed, 30 Dec 2020 13:47:36 +0000 (07:47 -0600)]
added more to struct_robustness; parsing bug fix

4 years agotiniest bug fix
Brendan Hansen [Wed, 30 Dec 2020 04:10:25 +0000 (22:10 -0600)]
tiniest bug fix

4 years agostructs are much better now, as far as I can tell
Brendan Hansen [Wed, 30 Dec 2020 04:06:00 +0000 (22:06 -0600)]
structs are much better now, as far as I can tell

4 years agoworking on making structs better as a whole
Brendan Hansen [Wed, 30 Dec 2020 03:34:32 +0000 (21:34 -0600)]
working on making structs better as a whole

4 years agoanother bugfix for block bindings
Brendan Hansen [Tue, 29 Dec 2020 21:12:33 +0000 (15:12 -0600)]
another bugfix for block bindings

4 years ago#solidify in polyproc fix; bindings don't require semicolons
Brendan Hansen [Tue, 29 Dec 2020 20:03:45 +0000 (14:03 -0600)]
#solidify in polyproc fix; bindings don't require semicolons

4 years agobugfixes with procedure level bindings
Brendan Hansen [Tue, 29 Dec 2020 19:45:08 +0000 (13:45 -0600)]
bugfixes with procedure level bindings

4 years ago'::' declarations in procedure scope are treated the same as file scoped
Brendan Hansen [Tue, 29 Dec 2020 18:23:21 +0000 (12:23 -0600)]
'::' declarations in procedure scope are treated the same as file scoped

4 years agoadded fixed arrays example
Brendan Hansen [Mon, 28 Dec 2020 23:22:01 +0000 (17:22 -0600)]
added fixed arrays example

4 years agosmall bugfix with comments at the start of a file
Brendan Hansen [Mon, 28 Dec 2020 23:21:50 +0000 (17:21 -0600)]
small bugfix with comments at the start of a file

4 years agobugfix with reducing comptime enum expressions
Brendan Hansen [Sun, 27 Dec 2020 23:01:35 +0000 (17:01 -0600)]
bugfix with reducing comptime enum expressions

4 years agosmall #solidify bugfix
Brendan Hansen [Sat, 26 Dec 2020 05:00:12 +0000 (23:00 -0600)]
small #solidify bugfix

4 years agostarted work on `#solidify`
Brendan Hansen [Fri, 25 Dec 2020 19:39:21 +0000 (13:39 -0600)]
started work on `#solidify`

4 years agoupdated CHANGELOG
Brendan Hansen [Thu, 24 Dec 2020 21:46:13 +0000 (15:46 -0600)]
updated CHANGELOG

4 years agomassive clean up of polymorphic procedure generation
Brendan Hansen [Thu, 24 Dec 2020 20:04:46 +0000 (14:04 -0600)]
massive clean up of polymorphic procedure generation

4 years agoadded 'map.update'
Brendan Hansen [Thu, 24 Dec 2020 19:59:02 +0000 (13:59 -0600)]
added 'map.update'

4 years agorefactored switch statements; cases can be ranges
Brendan Hansen [Wed, 23 Dec 2020 22:50:45 +0000 (16:50 -0600)]
refactored switch statements; cases can be ranges

4 years agomade range literals not turn into struct literals
Brendan Hansen [Wed, 23 Dec 2020 21:48:31 +0000 (15:48 -0600)]
made range literals not turn into struct literals