Commit Graph

  • cff1b3dff6 v0.0.5 Fix enumerations to so they work as integers in indices; Add llir_opt.c and llir_print.c Ginger Bill 2017-01-03 20:07:46 +00:00
  • 883dd0642c Change prev ssa to llir; Ginger Bill 2017-01-03 19:34:06 +00:00
  • 40f5dd56f7 Fix for interval upper bound check Ginger Bill 2017-01-03 19:22:08 +00:00
  • 70d4ca00df while; range is now for; remove ++ and -- Ginger Bill 2017-01-03 19:11:12 +00:00
  • a86896e4d3 Interval expressions in range Ginger Bill 2017-01-03 18:02:13 +00:00
  • a3883a178c range statement Ginger Bill 2017-01-02 18:47:47 +00:00
  • ce89a1428e Fix parameter/field lists and #import #include syntax Ginger Bill 2017-01-02 00:26:28 +00:00
  • 9202bd1b06 Nearly finished Jai-like declarations Ginger Bill 2017-01-01 20:41:10 +00:00
  • a48e0c7179 Begin transition to Jai-like syntax Ginger Bill 2017-01-01 19:08:03 +00:00
  • 3f1195cd03 More declaration differentiation in semantic stage e.g. make only variables and constants Ginger Bill 2017-01-01 18:18:43 +00:00
  • 311b5cb6e2 Add enum type info and fix enum casting Ginger Bill 2017-01-01 16:58:38 +00:00
  • 6fef74317c Bring back enum but using iota Ginger Bill 2017-01-01 16:18:50 +00:00
  • 0c6775ca14 Fix give expressions Ginger Bill 2016-12-30 22:52:43 +00:00
  • 6748f305db select to phi in if expression Ginger Bill 2016-12-30 16:31:04 +00:00
  • 2ecafda1d3 if expression Ginger Bill 2016-12-30 16:21:45 +00:00
  • 23d32f34e5 Block Expressions and give Ginger Bill 2016-12-30 15:45:10 +00:00
  • d714bece47 Handle calling conventions correctly Ginger Bill 2016-12-22 23:06:31 +00:00
  • 923b039cf6 Fix anonymous procedures and their dependencies Ginger Bill 2016-12-21 15:20:33 +00:00
  • d0e1efe622 Generic (grouped) declarations: var, let, const, type, import, include Ginger Bill 2016-12-20 18:58:17 +00:00
  • 478d63424f Remove enum for favour of Go-style enumerations Ginger Bill 2016-12-19 14:03:59 +00:00
  • ac1566762b Golang style enumerations with iota Ginger Bill 2016-12-19 13:18:20 +00:00
  • f5eeecaca5 Begin generic declarations for lists of specifications Ginger Bill 2016-12-19 11:56:45 +00:00
  • 77e219d442 Change var decl syntax var x int; from x: int; Ginger Bill 2016-12-18 22:32:18 +00:00
  • 4c10fbdcd4 Change record field syntax Ginger Bill 2016-12-18 22:23:34 +00:00
  • e370337f97 var/const decl; remove : from parameter lists Ginger Bill 2016-12-18 21:50:14 +00:00
  • 5217eb55b4 Change of proc and type declaration syntax to "prefix" style proc name() from name :: proc() Ginger Bill 2016-12-18 20:34:55 +00:00
  • 062a2c63e1 Very minor style changes Ginger Bill 2016-12-18 16:17:45 +00:00
  • b957365b0d Merge branch 'master' of https://github.com/gingerBill/Odin Ginger Bill 2016-12-17 10:26:07 +00:00
  • 625b98eac4 Fix issue with printing invalid IR for nested unions (GitHub #4) Ginger Bill 2016-12-17 10:22:38 +00:00
  • 0f809989e3 Fix issue with printing invalid IR for nested unions (GitHub #4) Ginger Bill 2016-12-17 10:22:38 +00:00
  • d4457e9fa4 Minor changes Ginger Bill 2016-12-16 20:18:23 +00:00
  • 9634b28b07 Add atomic.odin, sync.odin, sys/windows.odin Ginger Bill 2016-12-16 17:21:39 +00:00
  • f567983260 Semicolons mandatory again (and probably forever now...) Ginger Bill 2016-12-16 11:31:08 +00:00
  • ad84314143 Update README.md v0.0.4 Ginger Bill 2016-12-09 16:31:14 +00:00
  • a6f8c9d6e0 v0.0.4 - odin build_dll, atomic.odin, sync.odin Ginger Bill 2016-12-09 16:28:31 +00:00
  • de9016b7d0 Fix DllMain and only call main on DLL_PROCESS_ATTACH Ginger Bill 2016-12-09 00:43:50 +00:00
  • e8b4228833 Fix procedure casting; SUBSYSTEM to CONSOLE in linker Ginger Bill 2016-12-09 00:24:12 +00:00
  • 0d69dfcde6 Custom entry points on Windows (DllMain; WinMain) Ginger Bill 2016-12-09 00:07:08 +00:00
  • fa89d2775a build_dll; Require an entry point procedure main Ginger Bill 2016-12-08 17:33:30 +00:00
  • 60b6538a7a Set :: as a single token Ginger Bill 2016-12-07 10:20:25 +00:00
  • d9bd770992 Fix enumeration constant expressions; Remove empty file error Ginger Bill 2016-12-06 14:06:31 +00:00
  • 517b34f798 Improve parsing with semicolon insertion Ginger Bill 2016-12-06 00:05:59 +00:00
  • a16bdb215a Go/BCPL style semicolon insertion during tokenizing stage Ginger Bill 2016-12-05 23:39:26 +00:00
  • 88aa74bbb9 Remove multiple messages for cyclic type errors. Ginger Bill 2016-12-05 00:22:30 +00:00
  • 8ec9811d7a Fix (Crude) cyclic type checking for arrays and vectors Ginger Bill 2016-12-04 23:41:21 +00:00
  • c71b547cde (Crude) Cyclic Type Checking Ginger Bill 2016-12-04 23:25:52 +00:00
  • 76e724718c Fix preload initialization ordering Ginger Bill 2016-12-04 00:49:06 +00:00
  • 0b87313f08 Change entity collection strategy Ginger Bill 2016-12-03 00:16:51 +00:00
  • 4bb45700a5 Semicolons are required; when condition for certain file scope declarations; #import syntax change Ginger Bill 2016-12-01 22:44:00 +00:00
  • be8b9bda2f Delay importing entities till all other entities are collected Ginger Bill 2016-11-30 20:46:00 +00:00
  • ab2ca7cf59 Fix illegal type declaration error Ginger Bill 2016-11-30 20:07:23 +00:00
  • b76c8abe73 error_node Ginger Bill 2016-11-30 10:52:09 +00:00
  • d9c686b53d when statement; Better entity collection system (for both local and global); Better parsing for record declarations Ginger Bill 2016-11-29 23:57:06 +00:00
  • b232b9d5ea Basic when statement - Compile time if statement This is similar to an #if in C but handled during the semantic checking stage. Ginger Bill 2016-11-29 22:08:48 +00:00
  • 348bcc3f9a Update version string v0.0.3d Ginger Bill 2016-11-28 22:23:54 +00:00
  • 4dd8552c32 Fix slicing and add clamp Ginger Bill 2016-11-28 22:17:27 +00:00
  • 492490f7f6 Update demo.odin Ginger Bill 2016-11-28 22:16:29 +00:00
  • 598dab5bc4 #rune "" to ''; Remove infix and postfix call notation Ginger Bill 2016-11-28 20:39:43 +00:00
  • cbb70c7873 Fix parsing for comments; add global ODIN_* string constants Ginger Bill 2016-11-24 23:22:16 +00:00
  • 5aa0ef54c8 Add logo to README.md v0.0.3c Ginger Bill 2016-11-23 14:42:17 +00:00
  • 7792f009b8 Numpty forgot to add .c files Ginger Bill 2016-11-23 14:41:20 +00:00
  • 4110324588 Update README.md Ginger Bill 2016-11-23 14:33:32 +00:00
  • 34ee89cfab Update README.md and roadmap.md Ginger Bill 2016-11-23 13:57:33 +00:00
  • fff995a27c Merge branch 'master' into cpp-to-c Ginger Bill 2016-11-23 13:49:03 +00:00
  • fb45287e9e Fix import/export rules for #import as . Ginger Bill 2016-11-23 13:46:59 +00:00
  • 4d30ef7eda Change extensions .cpp to .c Ginger Bill 2016-11-23 12:29:50 +00:00
  • a77c6b3e55 Compile as C! Whoop! Ginger Bill 2016-11-23 12:25:37 +00:00
  • ef8563a818 Remove auto Ginger Bill 2016-11-23 12:03:26 +00:00
  • aa2bcb166f typedef struct and start removing auto Ginger Bill 2016-11-23 11:07:35 +00:00
  • 8ecfca0c9b Remove templated Map; replace with #include macro "templates" trick Ginger Bill 2016-11-23 10:36:48 +00:00
  • 543a2d1e5a Swap b32 to bool, et al. Ginger Bill 2016-11-23 09:46:58 +00:00
  • cb7b9a413d Remove Array<T> and replace with macro version Ginger Bill 2016-11-22 21:29:57 +00:00
  • 3517f96668 Remove: string overloads; defer Ginger Bill 2016-11-22 20:29:46 +00:00
  • 36ad9dae43 128 bit integers Kind of works but may be buggy due to LLVM not actually sure Ginger Bill 2016-11-22 00:13:52 +00:00
  • 24347ced45 Support any in match type Ginger Bill 2016-11-20 01:34:43 +00:00
  • 24ca106521 v0.0.3 Build Ginger Bill 2016-11-17 22:58:00 +00:00
  • 4895031df5 Actually fix alignment for vectors Whoops :P Ginger Bill 2016-11-16 18:27:54 +00:00
  • e2d98324ba Fix alignment issues with vectors, unions, and raw_unions Ginger Bill 2016-11-16 12:36:02 +00:00
  • 0cab083b8f #foreign_library; vector fields (x, y, z, w) for count <= 4 Ginger Bill 2016-11-15 12:06:58 +00:00
  • 3ce044f84f Add general timings for sections of the compiler Ginger Bill 2016-11-14 21:37:37 +00:00
  • 7ba0f25943 Separate SSA opt; Basic Timings for sections only Ginger Bill 2016-11-06 21:22:05 +00:00
  • 6c2772d093 Scrap Virtual Machine and begin again I just didn't like the style of it. Ginger Bill 2016-11-03 16:26:22 +00:00
  • 8534e064b9 File restructure (again) Ginger Bill 2016-11-02 13:44:04 +00:00
  • fa0eb88b7b Interpreter - bounds checking Ginger Bill 2016-10-31 00:10:31 +00:00
  • 5271adb82f Interpreter - Structs and Arrays Ginger Bill 2016-10-30 23:48:32 +00:00
  • 0ffe4b600d Interpreter - call internal procedures Ginger Bill 2016-10-30 19:20:47 +00:00
  • ca311c4a59 Begin work on the Interpreter Ginger Bill 2016-10-30 17:49:30 +00:00
  • 3ec67853e1 Minor Entity refactor Ginger Bill 2016-10-30 13:20:45 +00:00
  • 09f39ae2cc Better constant strings for SSA; Fix Type_Info Ginger Bill 2016-10-26 20:10:32 +01:00
  • aed7a83f5b Code reorganization - Separate files and slice refactoring Ginger Bill 2016-10-26 15:05:41 +01:00
  • 6996df4104 Fix double declarations with enum bug Ginger Bill 2016-10-26 12:00:40 +01:00
  • a5c1e83ce4 Fix Type_Info bug overwriting type_info data. Ginger Bill 2016-10-23 22:50:15 +01:00
  • b454371f3b Separation of certain instructions for better clarity. Ginger Bill 2016-10-23 15:57:59 +01:00
  • bd5d095de4 Separate ssa_struct_gep and ssa_array_gep procedures Ginger Bill 2016-10-23 14:46:52 +01:00
  • f60dc7b0a7 Minor Style Fixes Ginger Bill 2016-10-22 19:41:58 +01:00
  • a675d3f94d union_cast Ginger Bill 2016-10-16 21:31:06 +01:00
  • b9719df0ad Fix exact value bug when updating expressions Ginger Bill 2016-10-16 00:26:53 +01:00
  • 79af939522 Update ImplicitValue "architecture" Ginger Bill 2016-10-15 22:30:58 +01:00
  • f3209584a3 Add Pointer Arithmetic Ginger Bill 2016-10-12 17:51:36 +01:00
  • f5318c46d1 Implicit Values: context; Fix lvalue selector assignments; Fix offset_of* for using fields. Ginger Bill 2016-10-10 10:27:50 +01:00