Commit Graph

52 Commits

Author SHA1 Message Date
Ginger Bill 4afb3f8fa4 Fix line comments at the end of file 2017-01-05 22:35:32 +00:00
Ginger Bill 915b5cdab7 Rename llir -> ir 2017-01-04 11:24:32 +00:00
Ginger Bill cff1b3dff6 v0.0.5
Fix enumerations to so they work as integers in indices; Add llir_opt.c and llir_print.c
2017-01-03 20:07:46 +00:00
Ginger Bill f567983260 Semicolons mandatory again (and probably forever now...) 2016-12-16 11:31:08 +00:00
Ginger Bill a6f8c9d6e0 v0.0.4 - odin build_dll, atomic.odin, sync.odin 2016-12-09 16:28:31 +00:00
Ginger Bill 0d69dfcde6 Custom entry points on Windows (DllMain; WinMain) 2016-12-09 00:07:08 +00:00
Ginger Bill fa89d2775a build_dll; Require an entry point procedure main 2016-12-08 17:33:30 +00:00
Ginger Bill a16bdb215a Go/BCPL style semicolon insertion during tokenizing stage 2016-12-05 23:39:26 +00:00
Ginger Bill c71b547cde (Crude) Cyclic Type Checking 2016-12-04 23:25:52 +00:00
Ginger Bill 76e724718c Fix preload initialization ordering 2016-12-04 00:49:06 +00:00
Ginger Bill b232b9d5ea Basic when statement - Compile time if statement
This is similar to an #if in C but handled during the semantic checking stage.
2016-11-29 22:08:48 +00:00
Ginger Bill 4dd8552c32 Fix slicing and add clamp 2016-11-28 22:17:27 +00:00
Ginger Bill 598dab5bc4 #rune "" to ''; Remove infix and postfix call notation 2016-11-28 20:39:43 +00:00
Ginger Bill cbb70c7873 Fix parsing for comments; add global ODIN_* string constants 2016-11-24 23:22:16 +00:00
Ginger Bill 34ee89cfab Update README.md and roadmap.md 2016-11-23 13:57:33 +00:00
Ginger Bill fb45287e9e Fix import/export rules for #import as . 2016-11-23 13:46:59 +00:00
Ginger Bill 4d30ef7eda Change extensions .cpp to .c 2016-11-23 12:29:50 +00:00
Ginger Bill a77c6b3e55 Compile as C! Whoop! 2016-11-23 12:25:37 +00:00
Ginger Bill 3517f96668 Remove: string overloads; defer 2016-11-22 20:29:46 +00:00
Ginger Bill 24347ced45 Support any in match type 2016-11-20 01:34:43 +00:00
Ginger Bill 24ca106521 v0.0.3 Build 2016-11-17 22:58:00 +00:00
Ginger Bill 0cab083b8f #foreign_library; vector fields (x, y, z, w) for count <= 4 2016-11-15 12:06:58 +00:00
Ginger Bill 3ce044f84f Add general timings for sections of the compiler 2016-11-14 21:37:37 +00:00
Ginger Bill fa0eb88b7b Interpreter - bounds checking 2016-10-31 00:10:31 +00:00
Ginger Bill 50301557b2 Untyped nil 2016-10-06 17:11:17 +01:00
Ginger Bill 04b5d8c132 using on indexable field; Auto deref for (Index|Slice)Expr 2016-09-29 00:42:26 +01:00
Ginger Bill 6e39a42c8a Demo 004 2016-09-28 21:25:14 +01:00
Ginger Bill b593332942 Minimal Dependency Map: Only build what is needed 2016-09-27 15:28:44 +01:00
Ginger Bill 349badcf17 Nested procedures are declared inline but bodies checked later 2016-09-24 23:48:03 +01:00
Ginger Bill a31bab5aae Unicode file loading; push_allocator & push_context 2016-09-23 14:59:58 +01:00
Ginger Bill ee0aa7b9de Fix assert; exporting rules 2016-09-22 23:18:29 +01:00
Ginger Bill 2e506b7e6e Demo 003 2016-09-22 21:32:25 +01:00
Ginger Bill 0e2347e582 Filename as default import name; as .; as _; panic() 2016-09-21 14:46:56 +01:00
Ginger Bill 9561dc33ce enum_to_string 2016-09-19 21:33:52 +01:00
Ginger Bill 2d6171f3e5 #import search rule: relative then core/ 2016-09-17 22:42:09 +01:00
Ginger Bill 9ff4a8b5ab Switchable array bounds checking 2016-09-12 14:41:36 +01:00
Ginger Bill c6d02e4778 Fix missing type_info with manual linear search 2016-09-08 00:23:14 +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 f93cf3827b Change rune literals to #rune "C" 2016-08-25 00:23:04 +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 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 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 cbd82e3c02 Support import files as modules (i.e. import only once) 2016-07-21 00:26:14 +01:00
gingerBill aa6a2caecb Random Order File Scope Declaration 2016-07-12 23:53:34 +01:00
gingerBill 9f90ff50cf Tags, enclosed proc results and better error handling 2016-07-11 00:10:15 +01:00