Commit Graph

400 Commits

Author SHA1 Message Date
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
gingerBill
e8530ca883 Win32 Demo: OpenGL Context 2016-08-16 20:08:40 +01:00
gingerBill
2d49a61563 defer statements 2016-08-16 18:53:02 +01:00
gingerBill
5da6b74567 Compile with odin.exe and no run.bat
This is win32 only and requires CreateProcessA
2016-08-16 12:33:11 +01:00
gingerBill
6f7f82d877 Merge branch 'master' of http://git.handmadedev.org/gingerbill/Odin
# Conflicts:
#	examples/main.ll
#	examples/main.odin
#	examples/win32.odin
#	src/codegen/print_llvm.cpp
2016-08-16 11:43:21 +01:00
gingerBill
0dd17fe843 Win32 Window Test 2016-08-16 10:56:44 +01:00
gingerBill
50fd9548b9 Win32 test 2016-08-15 21:22:44 +01:00
gingerBill
dcbb2fcfbd Full Unicode Support 2016-08-15 15:02:45 +01:00
gingerBill
3ed75b22a3 string comparisons 2016-08-15 13:46:01 +01:00
gingerBill
0f48a7d299 #foreign "custom_name"; <N x i1> bugs (see test.ll and test2.ll) 2016-08-14 22:19:39 +01:00
gingerBill
0edae8c848 Vector index works with booleans now. 2016-08-14 19:37:47 +01:00
gingerBill
b44bc99b88 append :: proc(s: ^[]T, i: T) -> bool 2016-08-14 15:31:11 +01:00
gingerBill
ee00236412 expr as type; {N}bool is still causing problems 2016-08-14 12:22:31 +01:00
gingerBill
c10b46af9f Compound Literals - struct, array, slice, vector 2016-08-12 17:21:34 +01:00
gingerBill
84f2bcd885 Nested Procedures 2016-08-11 22:05:09 +01:00
gingerBill
19cc77dad3 Code generation for procedure literals 2016-08-11 21:53:44 +01:00
gingerBill
4c467b118d copy(...) 2016-08-10 20:07:24 +01:00
gingerBill
153c27c755 Tuple support in codegen 2016-08-10 11:53:17 +01:00
gingerBill
c930841f83 f16/f128,u|i128, basic vector support. 2016-08-10 10:00:57 +01:00
gingerBill
ba238c569a Strings galore! 2016-08-05 21:07:25 +01:00
gingerBill
4a303b5c3e Minor refactor and basic library 2016-08-05 15:17:23 +01:00
gingerBill
2aaef48c5c String support 2016-08-05 00:54:05 +01:00
gingerBill
19aea1f198 Basic call expression and fix to assignment count checking 2016-08-03 22:27:36 +01:00
gingerBill
0e92166d44 Slice creation for SliceExpr 2016-08-03 14:17:13 +01:00
gingerBill
41e7cadb8d ret, unreachable, param, deref 2016-08-02 20:53:18 +01:00
gingerBill
bf3283c889 Massive Refactor and If statements 2016-08-02 01:08:36 +01:00
gingerBill
e5665a190d Big Refactor to type less :P 2016-08-01 13:11:50 +01:00
gingerBill
88e05ad2b2 Basic Comparisons 2016-08-01 00:34:15 +01:00
gingerBill
70f6282f41 Variable declaration and assign, unary operators 2016-07-31 23:01:42 +01:00
gingerBill
776dc0e8f1 Restart LLVM IR SSA generation
This is the third go and I'm going for it!
2016-07-30 00:17:13 +01:00
gingerBill
32ab8fcf99 alias and unified parameters lists for procedures and structures. 2016-07-25 11:14:25 +01:00
gingerBill
9d8355d361 Branch Statements, if init statement, File parsing errors 2016-07-24 22:06:58 +01:00
gingerBill
3fe7fc344d Compound literals and Warnings 2016-07-23 11:41:11 +01:00
gingerBill
f8fd6fce0b Procedure Literal 2016-07-22 16:09:49 +01:00
gingerBill
51d0532c3e Only allow .odin files to be parsed 2016-07-21 00:38:15 +01:00
gingerBill
cbd82e3c02 Support import files as modules (i.e. import only once) 2016-07-21 00:26:14 +01:00