Commit Graph

85 Commits

Author SHA1 Message Date
Ginger Bill
c1e720a49b match to switch; Optional semicolons after "import" statements 2017-10-01 17:09:57 +01:00
Ginger Bill
e6e9375b09 Remove http_test.odin 2017-09-29 21:20:39 +01:00
Ginger Bill
11614c2649 Fix old_demos; Fix when bug; Fix enum .names 2017-09-29 21:11:16 +01:00
Ginger Bill
c43d66c286 Use comma for struct field separators (disallow nesting) 2017-09-21 23:18:28 +01:00
Ginger Bill
d2c1c719bd Fix file load order and allow when statements at file scope 2017-09-20 20:38:32 +01:00
Ginger Bill
cbcf4b6071 Fix issue #94 2017-09-11 22:49:26 +01:00
Ginger Bill
e6e0aba8c3 Remove when suffixes; Implement file scope when statement, evaluated in source order 2017-09-10 15:17:37 +01:00
Ginger Bill
8e3b77aba8 Library collections 2017-09-07 20:55:59 +01:00
Ginger Bill
2ac33285c1 Remove metagen.odin 2017-08-27 23:28:20 +01:00
Ginger Bill
7cb8016df3 Add examples 2017-08-27 23:27:12 +01:00
Ginger Bill
9ff4a8b5ab Switchable array bounds checking 2016-09-12 14:41:36 +01:00
Ginger Bill
7509cdceb8 Default struct member reordering for minimal size
Rule: largest members to smallest; if same size, order in source order
2016-09-10 11:24:50 +01:00
Ginger Bill
6979678ff9 Begin reording of struct members by default. 2016-09-09 23:33:54 +01:00
Ginger Bill
1ca752ce04 Remove duplicates in type info data. 2016-09-09 19:48:28 +01:00
Ginger Bill
56dd12c54c Fix match statements for the new AstNodeArray type 2016-09-08 18:28:18 +01:00
Ginger Bill
c6d02e4778 Fix missing type_info with manual linear search 2016-09-08 00:23:14 +01:00
Ginger Bill
7ba13a18a3 Basic variadic print procedure 2016-09-07 19:23:00 +01:00
Ginger Bill
2c4193a242 any type 2016-09-07 15:15:10 +01:00
Ginger Bill
61fcfd6f3d Begin Type_Info
Missing stuff in records, procedures, and tuples
2016-09-07 14:03:17 +01:00
Ginger Bill
455820fc84 Speed up SSA generation and clang compilation 2016-09-05 18:42:42 +01:00
Ginger Bill
c2e3c3801a Type match statement for tagged unions 2016-09-04 16:16:17 +01:00
Ginger Bill
7f884ed251 Start implementing Tagged Unions 2016-09-03 18:18:45 +01:00
Ginger Bill
11205f968a Typesafe variadic procedures 2016-09-03 12:41:03 +01:00
Ginger Bill
e1a6775661 Runtime assert 2016-09-02 15:51:48 +01:00
Ginger Bill
25e9b9bc87 min, max, abs 2016-09-02 14:14:12 +01:00
Ginger Bill
fa09d805e2 Match statements; Type System change (Type_Record for all sum and product types) 2016-09-01 20:38:44 +01:00
Ginger Bill
ff6e21cb87 Fix subtype polymorphism 2016-08-31 18:29:51 +01:00
Ginger Bill
5399463d9d down_cast 2016-08-31 00:52:19 +01:00
Ginger Bill
cda0234d48 Subtyping Polymorphic arguments; using procedure parameters 2016-08-30 23:32:04 +01:00
Ginger Bill
a06f70d5d9 Better using; foreign system libraries; optional semicolons 2016-08-30 18:39:29 +01:00
Ginger Bill
0eaf7bd830 Begin "Everything's a namespace" 2016-08-30 00:04:14 +01:00
Ginger Bill
593563d8ea new, new_slice, delete 2016-08-28 01:06:42 +01:00
Ginger Bill
3a189b9c1c Save before Demo 001 2016-08-25 19:52:51 +01:00
Ginger Bill
f93cf3827b Change rune literals to #rune "C" 2016-08-25 00:23:04 +01:00
Ginger Bill
d2c64be85c using on struct/union fields 2016-08-24 23:25:56 +01:00
Ginger Bill
6bd898e552 Untagged (unsafe) unions and unambiguous in|postfix notation. 2016-08-24 15:06:36 +01:00
gingerBill
975705f1fc Infix and Postfix procedure calls 2016-08-23 11:11:01 +01:00
gingerBill
aaecb18c8f Fix procedure's scope 2016-08-23 00:03:53 +01:00
gingerBill
81c592b5e9 Integer Enumerations 2016-08-22 15:43:13 +01:00
gingerBill
a98e93f03f File Library and TypeDecl syntax change 2016-08-22 11:52:49 +01:00
gingerBill
680274b6f1 Implicit Context and #thread_local 2016-08-19 23:35:09 +01:00
Ginger Bill
745237459a Initial Demo001 code for tour of language 2016-08-19 15:35:48 +01:00
gingerBill
ddb15e73c0 Remove print(ln) and fix swizzle 2016-08-19 09:54:01 +01:00
Ginger Bill
f931b089d5 print_(f32|f64) 2016-08-18 15:58:36 +01:00
gingerBill
6b2cd1b33f Win32 Demo - Minor math tests 2016-08-18 09:24:52 +01:00
gingerBill
6f9d11b381 Remove scalar*vector; swizzle; broadcast 2016-08-17 18:36:37 +01:00
gingerBill
c4fe2ace05 Fix Scoping of proc type decls 2016-08-17 12:04:17 +01:00
gingerBill
511f3744f6 Fix automatic pointer deref for structures in SSA 2016-08-17 11:18:38 +01:00
gingerBill
f17bc687a3 "Cool" OpenGL Demo of a rectangle 2016-08-16 23:23:01 +01:00
gingerBill
9e61e3beee field = value, for structure literals 2016-08-16 21:01:59 +01:00