Commit Graph

  • 2a5b674d33 Custom struct alignment Ginger Bill 2017-02-05 15:19:30 +00:00
  • 7944b7714f Add build guards around compiling part of the code. Ginger Bill 2017-02-01 21:00:32 +00:00
  • 205f4664f8 Update code from OSX merge to be consistent with the rest of the code Remove some dead code whilst I was here too :P Ginger Bill 2017-02-01 20:59:14 +00:00
  • c6133587d1 Merge pull request #16 from zhiayang/master gingerBill 2017-02-01 20:31:57 +00:00
  • 5516e80ab7 Merge branch 'master' of https://github.com/zhiayang/Odin zhiayang 2017-02-02 04:21:42 +08:00
  • 864310e3da oh boy, basic osx/unix support zhiayang 2017-02-02 04:20:33 +08:00
  • 4e7082a68d Change internals of context; Disable immutable Ginger Bill 2017-02-01 17:52:55 +00:00
  • 502e63b9c5 Remove dead code Ginger Bill 2017-01-30 23:10:44 +00:00
  • 34150385d8 Change vector memory layout and operations; for in vector. Ginger Bill 2017-01-30 22:31:34 +00:00
  • 0ca1b4612c Allow _ in floats Ginger Bill 2017-01-29 23:13:50 +00:00
  • 9e143a38ce sprint*, variadic append works correctly now. Ginger Bill 2017-01-29 21:29:10 +00:00
  • 43be91bca3 Variadic append Ginger Bill 2017-01-29 20:48:08 +00:00
  • 984e36a151 Dynamic arrays Ginger Bill 2017-01-29 20:15:16 +00:00
  • ec9c8fb8a4 Update README.md v0.0.6b Ginger Bill 2017-01-29 14:45:12 +00:00
  • 3e79ec4aef Fix untyped to any assignments. Fixed crash when arguments with no value are passed Ginger Bill 2017-01-29 14:27:55 +00:00
  • 3e257ef8d0 Merge pull request #12 from thebirk/windows-odin-correction gingerBill 2017-01-28 23:25:55 +00:00
  • 626f91f307 Changed #foreign user32 to gdi32 where this was wrong. thebirk 2017-01-28 23:23:02 +01:00
  • e86c990b75 Overloaded free; 3 dotted ellipsis v0.0.6a Ginger Bill 2017-01-28 20:16:18 +00:00
  • 31aacd5bf4 Fix parsing for block/if expression within if/for/etc. statements v0.0.6 Ginger Bill 2017-01-27 23:02:55 +00:00
  • 92453369c5 Remove while loop and readd c-style for loops i.e. all loops are just for Ginger Bill 2017-01-27 17:43:42 +00:00
  • 832009f33a in keyword for for and match type Ginger Bill 2017-01-27 16:34:58 +00:00
  • d3d3bfd455 Fix utf8 stuff, Allow _ in numbers, Begin writing next demo code. Ginger Bill 2017-01-27 12:43:01 +00:00
  • ce3582fd89 Remove case sensitivity for libraries on windows Ginger Bill 2017-01-26 20:06:22 +00:00
  • e3e16f5d05 Library names - Only link with used foreign libraries Ginger Bill 2017-01-26 20:00:16 +00:00
  • f47f25f942 Fix pointer differences (issue #11); remove #dll_import Ginger Bill 2017-01-26 17:39:44 +00:00
  • e85458919c Basic float printing Ginger Bill 2017-01-26 15:38:35 +00:00
  • b59a052e32 Change casting syntax: cast(T)x transmute(T)x et al. Ginger Bill 2017-01-25 19:19:25 +00:00
  • 12498b2d39 Fix issue #8 - https://github.com/gingerBill/Odin/issues/8 Ginger Bill 2017-01-20 11:23:46 +00:00
  • 6d93aa429f Fix issue #10 Ginger Bill 2017-01-20 00:21:40 +00:00
  • 3f023509a7 using immutable thread_local on variable declarations Ginger Bill 2017-01-19 20:03:10 +00:00
  • 563b1e2b28 immutable field prefix Ginger Bill 2017-01-19 19:02:44 +00:00
  • 4603d2525e Closed range ... (both inclusive); Type comparisons with == and != Ginger Bill 2017-01-19 11:29:15 +00:00
  • 2af9fb79dc Change cast syntax, int(x), []byte(s), (^int)(p) Ginger Bill 2017-01-17 23:36:07 +00:00
  • 367d307dc4 Fix conversion of untyped integers to pointers Ginger Bill 2017-01-17 20:27:14 +00:00
  • 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