Commit Graph

  • cb59c1cf08 Comma for all field separators; Overloaded procedures follow exportation rules Ginger Bill 2017-01-17 18:47:38 +00:00
  • 383f5b55ad Best viable overloading procedure algorithm; no_alias; call expr style casts Ginger Bill 2017-01-17 15:20:11 +00:00
  • 6dc6b6f8aa Err on ambiguous overloaded calls Ginger Bill 2017-01-15 20:43:28 +00:00
  • ac736aa4ec Procedure overloading Ginger Bill 2017-01-15 19:55:04 +00:00
  • 6fe25badf0 Bug fix: comparisons with shifts Ginger Bill 2017-01-15 12:00:13 +00:00
  • c29d433e38 Handle enums correctly with printf Ginger Bill 2017-01-08 23:19:50 +00:00
  • ff473e8342 "Old style" enums name and value information count, min_value, max_value constants Ginger Bill 2017-01-08 20:24:12 +00:00
  • 659e5359b2 fmt.printf - Go style due to runtime type safety Ginger Bill 2017-01-08 01:10:55 +00:00
  • d9ce0b9da0 File reorganization for checker system. Ginger Bill 2017-01-07 12:01:52 +00:00
  • 703e1aa2bc Fix core library; Disable adding entity definitions for blank identifiers v0.0.5e Ginger Bill 2017-01-07 11:44:42 +00:00
  • b1e35b6da3 Fix array pointer as iterators; Remove stack allocations in startup_runtime v0.0.5d Ginger Bill 2017-01-06 15:47:07 +00:00
  • fc1af0a04b Fix build error caused by invalid iterator types in for v0.0.5c Ginger Bill 2017-01-05 23:50:44 +00:00
  • 4afb3f8fa4 Fix line comments at the end of file v0.0.5b Ginger Bill 2017-01-05 22:35:32 +00:00
  • 207b252f23 Fix checking termination of a procedure Ginger Bill 2017-01-05 22:32:19 +00:00
  • 1356dfeec2 Fix SUBSYSTEM for link.exe v0.0.5a Ginger Bill 2017-01-05 21:58:24 +00:00
  • d025791462 v0.0.5a Ginger Bill 2017-01-05 21:46:09 +00:00
  • b07ee9ec23 Fix problem with odin build Ginger Bill 2017-01-05 21:43:36 +00:00
  • 915b5cdab7 Rename llir -> ir Ginger Bill 2017-01-04 11:24:32 +00:00
  • c8f99b360f Fix init_arena_from_context Ginger Bill 2017-01-03 20:35:47 +00:00
  • b76f6a8c27 Removed capacity arguments from new_slice and slice_ptr v0.0.5 Ginger Bill 2017-01-03 20:31:14 +00:00
  • 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