onyx.git
4 years agobugfixes and improvements to random
Brendan Hansen [Thu, 8 Oct 2020 13:36:52 +0000 (08:36 -0500)]
bugfixes and improvements to random

4 years agosmall updates to sublime syntax
Brendan Hansen [Sat, 3 Oct 2020 05:10:53 +0000 (00:10 -0500)]
small updates to sublime syntax

4 years agoadded auto casting on assignment and proper checking on boolean not
Brendan Hansen [Wed, 30 Sep 2020 03:19:26 +0000 (22:19 -0500)]
added auto casting on assignment and proper checking on boolean not

4 years agobugfixes with struct literals and core libraries
Brendan Hansen [Tue, 29 Sep 2020 03:38:03 +0000 (22:38 -0500)]
bugfixes with struct literals and core libraries

4 years agoupdated CHANGELOG and call site bugfix
Brendan Hansen [Mon, 28 Sep 2020 13:08:14 +0000 (08:08 -0500)]
updated CHANGELOG and call site bugfix

4 years agotesting with varargs
Brendan Hansen [Mon, 28 Sep 2020 02:22:16 +0000 (21:22 -0500)]
testing with varargs

4 years agoadded vararg_test.onyx
Brendan Hansen [Sun, 27 Sep 2020 04:39:13 +0000 (23:39 -0500)]
added vararg_test.onyx

4 years agoadded very basic implementation of printf
Brendan Hansen [Sat, 26 Sep 2020 21:34:52 +0000 (16:34 -0500)]
added very basic implementation of printf

4 years agobugfixes with varargs
Brendan Hansen [Sat, 26 Sep 2020 19:54:34 +0000 (14:54 -0500)]
bugfixes with varargs

4 years agocode cleanup with procedure calling; needs even more cleanup
Brendan Hansen [Sat, 26 Sep 2020 18:46:39 +0000 (13:46 -0500)]
code cleanup with procedure calling; needs even more cleanup

4 years agoadded completely variable type varargs
Brendan Hansen [Sat, 26 Sep 2020 02:21:24 +0000 (21:21 -0500)]
added completely variable type varargs

4 years agostarting to work on arbitrary varargs
Brendan Hansen [Fri, 25 Sep 2020 19:41:21 +0000 (14:41 -0500)]
starting to work on arbitrary varargs

4 years agoadded basics of timing the different stages of compilation
Brendan Hansen [Fri, 25 Sep 2020 03:51:55 +0000 (22:51 -0500)]
added basics of timing the different stages of compilation

4 years agoadded printing floats
Brendan Hansen [Wed, 23 Sep 2020 19:19:54 +0000 (14:19 -0500)]
added printing floats

4 years agoadded %f to bh_printf and fixed bug
Brendan Hansen [Wed, 23 Sep 2020 18:33:30 +0000 (13:33 -0500)]
added %f to bh_printf and fixed bug

4 years agoforgot to add astnodes.h
Brendan Hansen [Wed, 23 Sep 2020 17:47:05 +0000 (12:47 -0500)]
forgot to add astnodes.h

4 years agoadded 'use' statement for enums and variables of struct type
Brendan Hansen [Wed, 23 Sep 2020 14:26:53 +0000 (09:26 -0500)]
added 'use' statement for enums and variables of struct type

4 years agoadded data parameter to array_map
Brendan Hansen [Tue, 22 Sep 2020 20:32:07 +0000 (15:32 -0500)]
added data parameter to array_map

4 years agosmall bugfixes
Brendan Hansen [Tue, 22 Sep 2020 04:00:23 +0000 (23:00 -0500)]
small bugfixes

4 years agoadded math functions
Brendan Hansen [Mon, 21 Sep 2020 03:06:59 +0000 (22:06 -0500)]
added math functions

4 years agonasty bug fix with polymorphic structs destroying scope tree
Brendan Hansen [Sun, 20 Sep 2020 20:22:41 +0000 (15:22 -0500)]
nasty bug fix with polymorphic structs destroying scope tree

4 years agostarted working on a formal spec of the language
Brendan Hansen [Sun, 20 Sep 2020 03:42:03 +0000 (22:42 -0500)]
started working on a formal spec of the language

4 years agobugfix with struct literals as struct member default values
Brendan Hansen [Sun, 20 Sep 2020 03:06:26 +0000 (22:06 -0500)]
bugfix with struct literals as struct member default values

4 years agoadded coloring for proc definitions in vim
Brendan Hansen [Sun, 20 Sep 2020 02:21:12 +0000 (21:21 -0500)]
added coloring for proc definitions in vim

4 years agoupdate editor syntax definitions
Brendan Hansen [Sun, 20 Sep 2020 02:08:36 +0000 (21:08 -0500)]
update editor syntax definitions

4 years agoupdated CHANGELOG
Brendan Hansen [Sat, 19 Sep 2020 23:45:30 +0000 (18:45 -0500)]
updated CHANGELOG

4 years agoadded '~~' auto cast operator
Brendan Hansen [Sat, 19 Sep 2020 23:37:01 +0000 (18:37 -0500)]
added '~~' auto cast operator

4 years agoadded bitwise not operator
Brendan Hansen [Sat, 19 Sep 2020 12:52:12 +0000 (07:52 -0500)]
added bitwise not operator

4 years agochanged overloaded function syntax; () are required on procs now
Brendan Hansen [Fri, 18 Sep 2020 19:38:34 +0000 (14:38 -0500)]
changed overloaded function syntax; () are required on procs now

4 years agocode cleanup
Brendan Hansen [Fri, 18 Sep 2020 19:17:40 +0000 (14:17 -0500)]
code cleanup

4 years agobugfixes with structs by value
Brendan Hansen [Fri, 18 Sep 2020 17:03:10 +0000 (12:03 -0500)]
bugfixes with structs by value

4 years agoadded ability to pass complicated structs by value
Brendan Hansen [Fri, 18 Sep 2020 16:43:28 +0000 (11:43 -0500)]
added ability to pass complicated structs by value

4 years agofixed #24; ready for v0.0.3
Brendan Hansen [Fri, 18 Sep 2020 03:18:36 +0000 (22:18 -0500)]
fixed #24; ready for v0.0.3

4 years agofixed #19
Brendan Hansen [Fri, 18 Sep 2020 02:19:41 +0000 (21:19 -0500)]
fixed #19

4 years agocode cleanup
Brendan Hansen [Fri, 18 Sep 2020 02:01:56 +0000 (21:01 -0500)]
code cleanup

4 years agoadded #private_file; 'use package' is at file scope, not package scope
Brendan Hansen [Fri, 18 Sep 2020 00:44:55 +0000 (19:44 -0500)]
added #private_file; 'use package' is at file scope, not package scope

4 years agoupdated CHANGELOG
Brendan Hansen [Thu, 17 Sep 2020 19:43:36 +0000 (14:43 -0500)]
updated CHANGELOG

4 years agoadded alloc_slice; made bools comptime known
Brendan Hansen [Thu, 17 Sep 2020 19:42:10 +0000 (14:42 -0500)]
added alloc_slice; made bools comptime known

4 years agofixed alignment issue on struct members
Brendan Hansen [Thu, 17 Sep 2020 19:41:39 +0000 (14:41 -0500)]
fixed alignment issue on struct members

4 years agoadded println to stdio; code cleanup
Brendan Hansen [Thu, 17 Sep 2020 03:13:05 +0000 (22:13 -0500)]
added println to stdio; code cleanup

4 years agoadded test cases; bug fixes
Brendan Hansen [Wed, 16 Sep 2020 13:45:55 +0000 (08:45 -0500)]
added test cases; bug fixes

4 years agoworking on TCC with github actions
Brendan Hansen [Wed, 16 Sep 2020 03:00:06 +0000 (22:00 -0500)]
working on TCC with github actions

4 years agoUpdate onyx-build.yml
Brendan Hansen [Wed, 16 Sep 2020 02:54:43 +0000 (21:54 -0500)]
Update onyx-build.yml

Trying to get TCC working

4 years agostarted working on automated regression tests
Brendan Hansen [Wed, 16 Sep 2020 02:46:25 +0000 (21:46 -0500)]
started working on automated regression tests

4 years agoswitched to using TCC as the compiler compiler
Brendan Hansen [Wed, 16 Sep 2020 01:12:24 +0000 (20:12 -0500)]
switched to using TCC as the compiler compiler

4 years agoadded name to polymorphic structs so error messsages look better
Brendan Hansen [Tue, 15 Sep 2020 02:17:11 +0000 (21:17 -0500)]
added name to polymorphic structs so error messsages look better

4 years agofixed bug with polymorphic struct 'using'
Brendan Hansen [Mon, 14 Sep 2020 23:08:22 +0000 (18:08 -0500)]
fixed bug with polymorphic struct 'using'

4 years agoadded error message for using polymorphic structs
Brendan Hansen [Mon, 14 Sep 2020 22:56:34 +0000 (17:56 -0500)]
added error message for using polymorphic structs

4 years agobugfixes for polymorphic structs
Brendan Hansen [Mon, 14 Sep 2020 22:44:19 +0000 (17:44 -0500)]
bugfixes for polymorphic structs

4 years agoadded polymorphic structs; must testing will be needed
Brendan Hansen [Mon, 14 Sep 2020 20:47:26 +0000 (15:47 -0500)]
added polymorphic structs; must testing will be needed

4 years agoFixed #20
Brendan Hansen [Sat, 12 Sep 2020 18:36:46 +0000 (13:36 -0500)]
Fixed #20

4 years agoadded simd example; simd bugfixes
Brendan Hansen [Thu, 10 Sep 2020 18:50:46 +0000 (13:50 -0500)]
added simd example; simd bugfixes

4 years agofinished initial version of SIMD instructions
Brendan Hansen [Thu, 10 Sep 2020 18:29:57 +0000 (13:29 -0500)]
finished initial version of SIMD instructions

4 years agostarted working on SIMD functionality
Brendan Hansen [Thu, 10 Sep 2020 03:36:09 +0000 (22:36 -0500)]
started working on SIMD functionality

4 years agoadded 'simd' package with simd types
Brendan Hansen [Wed, 9 Sep 2020 13:30:25 +0000 (08:30 -0500)]
added 'simd' package with simd types

4 years agoMerge pull request #14 from brendanfh/add-license-1
Brendan Hansen [Wed, 9 Sep 2020 02:08:37 +0000 (21:08 -0500)]
Merge pull request #14 from brendanfh/add-license-1

Create LICENSE

4 years agoCreate LICENSE
Brendan Hansen [Wed, 9 Sep 2020 02:08:21 +0000 (21:08 -0500)]
Create LICENSE

4 years agoUpdate onyx-build.yml
Brendan Hansen [Wed, 9 Sep 2020 00:41:59 +0000 (19:41 -0500)]
Update onyx-build.yml

4 years agoUpdate onyx-build.yml
Brendan Hansen [Wed, 9 Sep 2020 00:40:06 +0000 (19:40 -0500)]
Update onyx-build.yml

4 years agoCreate onyx-build.yml
Brendan Hansen [Wed, 9 Sep 2020 00:39:02 +0000 (19:39 -0500)]
Create onyx-build.yml

4 years agovarious bug improvements
Brendan Hansen [Tue, 8 Sep 2020 21:44:31 +0000 (16:44 -0500)]
various bug improvements

4 years agoadded 'using' struct members
Brendan Hansen [Tue, 8 Sep 2020 13:23:47 +0000 (08:23 -0500)]
added 'using' struct members

4 years agoadded polymorphic varargs of a single type
Brendan Hansen [Tue, 8 Sep 2020 01:11:18 +0000 (20:11 -0500)]
added polymorphic varargs of a single type

4 years agobugfix for variadic arguments
Brendan Hansen [Mon, 7 Sep 2020 21:52:40 +0000 (16:52 -0500)]
bugfix for variadic arguments

4 years agoadded initial implementation of typed varargs
Brendan Hansen [Mon, 7 Sep 2020 21:47:57 +0000 (16:47 -0500)]
added initial implementation of typed varargs

4 years agoreduced number of foreign imports
Brendan Hansen [Sun, 6 Sep 2020 15:08:50 +0000 (10:08 -0500)]
reduced number of foreign imports

4 years agosmall bugfixes; started writing example programs with docs
Brendan Hansen [Sat, 5 Sep 2020 20:53:20 +0000 (15:53 -0500)]
small bugfixes; started writing example programs with docs

4 years agoadded some robustness and better errors
Brendan Hansen [Sat, 5 Sep 2020 14:11:07 +0000 (09:11 -0500)]
added some robustness and better errors

4 years agoadded for loops over fixed size arrays
Brendan Hansen [Sat, 5 Sep 2020 05:10:27 +0000 (00:10 -0500)]
added for loops over fixed size arrays

4 years agoadded iteration by pointer to for loops
Brendan Hansen [Sat, 5 Sep 2020 04:50:58 +0000 (23:50 -0500)]
added iteration by pointer to for loops

4 years agoadded for loop iteration over slices and dynamic arrays
Brendan Hansen [Sat, 5 Sep 2020 04:24:05 +0000 (23:24 -0500)]
added for loop iteration over slices and dynamic arrays

4 years agochanged semantics of for loops; now iterable based
Brendan Hansen [Fri, 4 Sep 2020 19:20:10 +0000 (14:20 -0500)]
changed semantics of for loops; now iterable based

4 years agocan subscript array with a value of type 'range'; not just a range
Brendan Hansen [Fri, 4 Sep 2020 13:26:57 +0000 (08:26 -0500)]
can subscript array with a value of type 'range'; not just a range
literal

4 years agochanged slice creation syntax to use ranges
Brendan Hansen [Fri, 4 Sep 2020 03:54:22 +0000 (22:54 -0500)]
changed slice creation syntax to use ranges

4 years agoadded ranges; will replace for loop and slice syntax soon
Brendan Hansen [Fri, 4 Sep 2020 03:18:40 +0000 (22:18 -0500)]
added ranges; will replace for loop and slice syntax soon

4 years agoadded ability to output a tag file
Brendan Hansen [Thu, 3 Sep 2020 15:38:12 +0000 (10:38 -0500)]
added ability to output a tag file

4 years ago'builtin' package is implicitly included; multiple unqualified uses are eliminated
Brendan Hansen [Wed, 2 Sep 2020 14:14:55 +0000 (09:14 -0500)]
'builtin' package is implicitly included; multiple unqualified uses are eliminated

4 years agoadded core array functions
Brendan Hansen [Wed, 2 Sep 2020 02:14:22 +0000 (21:14 -0500)]
added core array functions

4 years agoresolving polymorphic params in function parameters; code cleanup
Brendan Hansen [Tue, 1 Sep 2020 19:01:24 +0000 (14:01 -0500)]
resolving polymorphic params in function parameters; code cleanup

4 years agoadded ptrmap.onyx; small bugfixes; changed rules about auto pointer conversions
Brendan Hansen [Tue, 1 Sep 2020 16:00:16 +0000 (11:00 -0500)]
added ptrmap.onyx; small bugfixes; changed rules about auto pointer conversions

4 years agorefactoring core arrays
Brendan Hansen [Tue, 1 Sep 2020 14:33:07 +0000 (09:33 -0500)]
refactoring core arrays

4 years agoadded block comments (kinda); bug fixes
Brendan Hansen [Tue, 1 Sep 2020 03:11:03 +0000 (22:11 -0500)]
added block comments (kinda); bug fixes

4 years agorefactoring core libraries
Brendan Hansen [Mon, 31 Aug 2020 22:42:18 +0000 (17:42 -0500)]
refactoring core libraries

4 years agopolyprocs can be passed as arguments; code cleanup and bugfixes
Brendan Hansen [Mon, 31 Aug 2020 18:40:58 +0000 (13:40 -0500)]
polyprocs can be passed as arguments; code cleanup and bugfixes

4 years agocode cleanup and bugfixes; added file location directives
Brendan Hansen [Mon, 31 Aug 2020 03:11:01 +0000 (22:11 -0500)]
code cleanup and bugfixes; added file location directives

4 years agosmall error improvements; moved where proc directives go
Brendan Hansen [Sun, 30 Aug 2020 17:10:33 +0000 (12:10 -0500)]
small error improvements; moved where proc directives go

4 years agoadded '#add_overload' directive
Brendan Hansen [Sun, 30 Aug 2020 16:11:10 +0000 (11:11 -0500)]
added '#add_overload' directive

4 years agomassive renaming of internal compiler things
Brendan Hansen [Sun, 30 Aug 2020 12:59:55 +0000 (07:59 -0500)]
massive renaming of internal compiler things

4 years agocritical bugfixes and sublime/vim compiliation support
Brendan Hansen [Sat, 29 Aug 2020 20:01:55 +0000 (15:01 -0500)]
critical bugfixes and sublime/vim compiliation support

4 years agoweird bugfix with operator precedence
Brendan Hansen [Sat, 29 Aug 2020 04:53:38 +0000 (23:53 -0500)]
weird bugfix with operator precedence

4 years agobugfixes and more testing
Brendan Hansen [Sat, 29 Aug 2020 03:50:35 +0000 (22:50 -0500)]
bugfixes and more testing

4 years agoadding array functionality and bugfixes
Brendan Hansen [Sat, 29 Aug 2020 02:34:56 +0000 (21:34 -0500)]
adding array functionality and bugfixes

4 years agoadded dynamic array type since polymorphism is now a thing
Brendan Hansen [Sat, 29 Aug 2020 01:57:57 +0000 (20:57 -0500)]
added dynamic array type since polymorphism is now a thing

4 years agocaching previous generated polymorphic functions
Brendan Hansen [Fri, 28 Aug 2020 22:37:55 +0000 (17:37 -0500)]
caching previous generated polymorphic functions

4 years agoStarted the basics of polymorphic procedures. code clean and bugfixes to follow.
Brendan Hansen [Fri, 28 Aug 2020 21:58:32 +0000 (16:58 -0500)]
Started the basics of polymorphic procedures. code clean and bugfixes to follow.

4 years agoadded implicit '.data' to slices so they behave like arrays
Brendan Hansen [Fri, 28 Aug 2020 16:29:04 +0000 (11:29 -0500)]
added implicit '.data' to slices so they behave like arrays

4 years agorefactored slice types to not be a struct type internally
Brendan Hansen [Fri, 28 Aug 2020 13:38:04 +0000 (08:38 -0500)]
refactored slice types to not be a struct type internally

4 years agosmall bugfixes
Brendan Hansen [Fri, 28 Aug 2020 02:29:48 +0000 (21:29 -0500)]
small bugfixes

4 years agoUpdate README.md
Brendan Hansen [Thu, 27 Aug 2020 16:36:59 +0000 (11:36 -0500)]
Update README.md

4 years agostarted working on a auto-documentation output
Brendan Hansen [Wed, 26 Aug 2020 17:42:20 +0000 (12:42 -0500)]
started working on a auto-documentation output