Ginger Bill
|
9a3b4167bb
|
Fix polymorphic element types usage; Empty union as opaque type
|
2017-07-20 19:40:51 +01:00 |
|
Ginger Bill
|
2da18b6d33
|
Change internals from Record to Struct
|
2017-07-20 15:23:13 +01:00 |
|
Ginger Bill
|
6d37ed12d2
|
Update internals of a Union and Tuple
|
2017-07-20 15:17:04 +01:00 |
|
Ginger Bill
|
eab23cd5b7
|
Fix parsing bug with procedure types in return values
|
2017-07-19 22:34:50 +01:00 |
|
Ginger Bill
|
d233706a2d
|
Fix minor parsing bug with procedure return types
|
2017-07-19 22:17:57 +01:00 |
|
Ginger Bill
|
f1ab17ed4e
|
type_info_of; enum_value_to_string and string_to_enum_value
|
2017-07-19 14:01:56 +01:00 |
|
Ginger Bill
|
6113164211
|
Change union layout to store type info rather than an integer; ternary expression for types with constant condition
|
2017-07-19 12:15:21 +01:00 |
|
Ginger Bill
|
a22c6d6c0c
|
Fix parsing error for compound literals
|
2017-07-18 19:57:30 +01:00 |
|
Ginger Bill
|
59fb7b020a
|
Merge raw_union into struct as a memory layout tag #raw_union
|
2017-07-18 19:24:45 +01:00 |
|
Ginger Bill
|
65f079ebc4
|
Remove atomic, ++, and --
|
2017-07-18 18:58:41 +01:00 |
|
Ginger Bill
|
9a8759efef
|
Polymorphic type specialization for procedures
|
2017-07-17 15:08:36 +01:00 |
|
Ginger Bill
|
054948e701
|
Basic procedure type parameter specialization
|
2017-07-16 15:00:16 +01:00 |
|
Ginger Bill
|
1c5ddd65b4
|
Rudimentary support for parametric polymorphic types
|
2017-07-13 22:35:00 +01:00 |
|
Ginger Bill
|
b8697fb4ed
|
Change precedence order for types e.g. ^T(x) == ^(T(x))
|
2017-07-13 16:20:07 +01:00 |
|
Ginger Bill
|
c4c6975f1b
|
cast(Type)expr; Fix overloaded procedure determination on assignment
|
2017-07-11 14:40:27 +01:00 |
|
Ginger Bill
|
3868a9a0f0
|
Clean up _preload.odin types
|
2017-07-10 23:15:41 +01:00 |
|
Ginger Bill
|
fd8c4d58bb
|
union type allow for any types and removes common fields
|
2017-07-10 22:32:21 +01:00 |
|
Ginger Bill
|
ce4b7b8b7d
|
Nested record declarations
|
2017-07-10 20:39:42 +01:00 |
|
Ginger Bill
|
069a47220e
|
Make record semicolon syntax more consistent
|
2017-07-10 14:52:58 +01:00 |
|
Ginger Bill
|
66e4aaffc5
|
Use semicolons as field delimiters in records
|
2017-07-10 13:49:50 +01:00 |
|
Ginger Bill
|
b201670f7a
|
Fix _preload.odin; Add for in without parameters; Change sync.Mutex for windows
|
2017-07-08 23:13:57 +01:00 |
|
Ginger Bill
|
c63cb98019
|
Fix else do
|
2017-07-07 17:50:45 +01:00 |
|
Ginger Bill
|
2db03cb4a5
|
Fix aprint* bug; NULL -> nullptr; Better error messages for overloaded functions
|
2017-07-06 22:43:55 +01:00 |
|
Ginger Bill
|
188bc28f6a
|
Allow for overloading of polymorphic procedures
|
2017-07-04 22:42:25 +01:00 |
|
Ginger Bill
|
689a0c0b49
|
*_of as keyords; Allow constant aliasing for user/built-in procedures, import names, and library names
|
2017-07-04 11:23:48 +01:00 |
|
Ginger Bill
|
96d32680fe
|
Allow overloading of polymorphic procedures
|
2017-07-02 10:45:22 +01:00 |
|
Ginger Bill
|
d782b3d21d
|
Fix do on for loops
|
2017-07-01 11:53:01 +01:00 |
|
Ginger Bill
|
ed089b44b9
|
do keyword for inline statements instead of blocks
|
2017-07-01 11:38:44 +01:00 |
|
Ginger Bill
|
69f7382eec
|
Implicit parametric polymorphic procedures
|
2017-06-29 20:56:18 +01:00 |
|
Ginger Bill
|
e4a8283327
|
Remove Type
What was I thinking?!
|
2017-06-29 15:48:07 +01:00 |
|
Ginger Bill
|
001baf4419
|
Add Type -- Runtime type for comparing types (similar to TypeInfo but simpler)
|
2017-06-29 15:13:41 +01:00 |
|
Ginger Bill
|
d167290b28
|
Make AstNodeIdent a struct wrapping its Token
|
2017-06-29 12:11:50 +01:00 |
|
Ginger Bill
|
fd81c06c35
|
Remove var and const keywords; Fix default parameter syntax
|
2017-06-28 23:55:40 +01:00 |
|
Ginger Bill
|
94afcec757
|
:: style procedure declarations; remove old parsing code
|
2017-06-28 23:47:06 +01:00 |
|
Ginger Bill
|
4f28e9e1fb
|
Remove type prefix declarations
|
2017-06-28 23:23:10 +01:00 |
|
Ginger Bill
|
0622509807
|
Disable var and const declarations
|
2017-06-28 23:17:20 +01:00 |
|
Ginger Bill
|
9ca2246bac
|
Basic allowance for := and ::
|
2017-06-28 22:38:04 +01:00 |
|
Ginger Bill
|
a0d8dcd974
|
Remove let
|
2017-06-26 13:59:15 +01:00 |
|
Ginger Bill
|
c642e326ce
|
Undef value --- (for setting a value to be uninitialized/undefined)
|
2017-06-26 11:57:26 +01:00 |
|
Ginger Bill
|
15dbea6899
|
Generic procedures generate types on use
|
2017-06-25 19:41:07 +01:00 |
|
Ginger Bill
|
1d81b73df9
|
Basic command line flags: e.g. -opt=0
|
2017-06-24 22:58:50 +01:00 |
|
Ginger Bill
|
18f885efab
|
expand_to_tuple
|
2017-06-24 20:39:37 +01:00 |
|
Ginger Bill
|
bba088bee7
|
Use UTF-8 command line on windows
|
2017-06-24 11:42:49 +01:00 |
|
Ginger Bill
|
8744c60563
|
Clean up code for return statements, slightly
|
2017-06-22 13:47:50 +01:00 |
|
Ginger Bill
|
8197c02dcf
|
Default result values for procedure types; Named result values in return statements
|
2017-06-22 01:14:45 +01:00 |
|
Ginger Bill
|
53075e2570
|
Update old demos
|
2017-06-21 21:20:26 +01:00 |
|
Ginger Bill
|
5957d7f7be
|
Implicit Parameter Passing based context system (replacing Thread Local Storage (TLS) approach)
|
2017-06-20 12:38:05 +01:00 |
|
Ginger Bill
|
5427d14416
|
Code will compile as 32 bit but will causes errors in the linker on Windows
|
2017-06-19 15:55:09 +01:00 |
|
Ginger Bill
|
126f7aa892
|
Begin work on documentation generation
|
2017-06-18 23:16:57 +01:00 |
|
Ginger Bill
|
4236519b84
|
#location(..) and #call_location
|
2017-06-18 14:36:06 +01:00 |
|