Commit Graph

225 Commits

Author SHA1 Message Date
Ginger Bill
2deb2f8eeb Declaration grouping uses () rather than {}; Fix some problem with compilation on *nix 2017-06-17 12:01:53 +01:00
Ginger Bill
76b0c7b765 "Revert" to older demo 2017-06-12 21:27:53 +01:00
Ginger Bill
83bad13e9e Update default field value syntax; Use more declaration groupings 2017-06-12 18:38:27 +01:00
Ginger Bill
e6a206a430 Check for empty generic declaration list 2017-06-12 16:58:25 +01:00
Ginger Bill
6b5e9aec8e Pascal style declaration grouping with () 2017-06-12 15:42:21 +01:00
Ginger Bill
2ab0d97573 import and import_load as keywords; Fix procedure literal call trick 2017-06-12 14:19:12 +01:00
Ginger Bill
33eeb58521 Prefix proc syntax 2017-06-12 12:34:55 +01:00
Ginger Bill
8fafdb185c Remove := with var and :: with const 2017-06-12 11:48:12 +01:00
Ginger Bill
333924cce1 v0.3 Release 2017-06-08 11:35:22 +01:00
Ginger Bill
574b82c0c7 v0.3.0 2017-06-07 22:09:16 +01:00
Ginger Bill
0d4945dc87 Implement u128/i128 features; Add bits.odin 2017-06-01 14:23:46 +01:00
Ginger Bill
fec6df65b3 Use 128-bit integers for ExactValue integers 2017-05-30 15:23:01 +01:00
Ginger Bill
45dbe8d354 default: to case:; no_alias to #no_alias 2017-05-27 11:47:21 +01:00
Ginger Bill
5595daf5a3 Revert demo.odin 2017-05-09 10:01:50 +01:00
Ginger Bill
64b5afd820 Fix issue #63 for block comments not terminating at an EOF 2017-05-09 10:01:10 +01:00
Ginger Bill
789b297f32 Add hidden __tag for union variables. 2017-05-04 20:34:50 +01:00
Ginger Bill
cc6282a6e3 Fix alignment and size bug of enums; Remove #ordered and make the default #ordered. 2017-05-02 21:16:09 +01:00
Ginger Bill
206a3e093c Remove check on array/slice/dynamic element size 2017-05-02 20:17:53 +01:00
Ginger Bill
c7575164cc Revert to previous demo 2017-04-28 11:03:19 +01:00
Ginger Bill
99125dc743 Fix issue #51; begin work on atomic types 2017-04-28 11:01:46 +01:00
Ginger Bill
0d7bf58b60 Revert to the old demo 2017-04-16 10:40:24 +01:00
Ginger Bill
abb9930725 IR emit C ABI compatible types for calling conventions (Only for x86/amd64 like processors at the moment) 2017-04-16 10:38:42 +01:00
root
98d493504b Fix segfault with heap allocation 2017-04-10 20:48:56 +01:00
Ginger Bill
c067a1f0ec Fix ir bugs: global variable names, untyped to any assignment 2017-04-06 11:12:11 +01:00
Ginger Bill
3e80411d37 Fix issue #31; Removed down_cast 2017-04-04 21:54:55 +01:00
Ginger Bill
382a5ca6a2 Update and regression test old demos 2017-04-02 22:03:52 +01:00
Ginger Bill
8ce58573df len, cap, make; remove .count, .capacity, new_slice 2017-04-02 18:16:45 +01:00
Ginger Bill
2c8b99337b Fix conj 2017-04-01 22:55:33 +01:00
Ginger Bill
5008e2c88b Add Quaternions: quaternion128, quaternion256 2017-04-01 22:41:23 +01:00
Ginger Bill
90fc9abeae Fix constant conversion for complex numbers from integers 2017-04-01 12:12:08 +01:00
Ginger Bill
dc303cde21 Complex numbers: complex64 complex128 2017-04-01 12:07:41 +01:00
Ginger Bill
a75ccb6fbc v0.1.3 2017-03-27 20:32:36 +01:00
Ginger Bill
c26990c22d Multiple type cases for match in 2017-03-19 20:55:39 +00:00
Ginger Bill
c34d839f9f Add named branches for match statements 2017-03-19 17:36:08 +00:00
Ginger Bill
5562364a98 Add branch labels for loops; using list 2017-03-19 16:59:11 +00:00
Ginger Bill
32150e401e Update gb.h 2017-03-17 12:30:59 +00:00
Ginger Bill
aaec8bf423 windows.odin TYPE_NAME to Type_Name; More SSA work and SSA printing for debugging 2017-03-12 16:42:51 +00:00
Ginger Bill
0fcbda951a Finally fix signed integer conversion and printing 2017-03-10 10:34:25 +00:00
Ginger Bill
e2734a2dc6 Begin work on the custom backend 2017-03-05 21:22:33 +00:00
Ginger Bill
9e8c9be1ea Allow pointers to append; Fix strconv stuff; new_slice allows for capacity 2017-03-02 19:24:34 +00:00
Ginger Bill
f29e303ce7 Slices now have a capacity. 2017-02-26 15:14:08 +00:00
Ginger Bill
3c9143957c Ellipsis is now just ..; Remove half-closed range operator and treat all of them as half-closed; slice expression uses ..; 2017-02-26 14:19:03 +00:00
Ginger Bill
18b3c0b2fc Fix fmt integer width printing 2017-02-26 09:42:24 +00:00
Ginger Bill
c59f6b7d0b ++ -- statements; add strconv.odin (and replace some of the fmt procs); Fix ~ on 64 bit constants; Fix integer casts from smaller to larger size 2017-02-26 00:44:26 +00:00
Ginger Bill
67ed8a9a4a Fix Tuple type info bug
Caused by not having type safe tagged unions :P (Silly C)
2017-02-24 22:56:34 +00:00
Ginger Bill
9b2f5c359a v0.1.1 2017-02-24 19:48:18 +00:00
Ginger Bill
047c0e4bcc A decent union type with common fields and variants 2017-02-21 21:21:54 +00:00
Ginger Bill
a94dfdf21d Begin changing union syntax 2017-02-19 19:55:19 +00:00
Ginger Bill
c0d5237b75 Unexported struct fields on selectors 2017-02-19 12:47:02 +00:00
Ginger Bill
6fdcbefe5d Unexported struct fields 2017-02-19 12:38:49 +00:00