Commit Graph

368 Commits

Author SHA1 Message Date
gingerBill bbddbba340 Fix cast to uintptr 2017-11-10 18:56:47 +00:00
gingerBill e5c39fb2a9 Fix opening file without close; Minor fixes 2017-11-09 22:58:44 +00:00
gingerBill eb4b3f5976 Change push allocator system; update core libraries 2017-11-09 22:48:00 +00:00
gingerBill 36b0b50ba4 Amend allocation procedures with caller location; Compound literals missing type can determine type in certain cases. 2017-11-09 20:51:13 +00:00
gingerBill 0ffcccdae5 Add Source_Code_Location parameter Allocator_Proc (#138) 2017-11-08 22:05:51 +00:00
gingerBill b1d1497f4b Fix array of array arithmetic 2017-11-07 23:02:53 +00:00
gingerBill 9df3a94d33 Fix cyclic type checking bug 2017-11-05 23:38:09 +00:00
gingerBill d4f335d068 Fix fmt.odin %#v fancy printing 2017-11-05 19:47:18 +00:00
gingerBill 66ee2cb6ed #const value procedure parameters; $N for polymorphic array lengths 2017-11-05 18:26:24 +00:00
gingerBill 1d4881cbbe Add array programming 2017-11-05 14:22:18 +00:00
gingerBill 6bc5584add Fix fmt printing uintptr type 2017-11-04 00:16:54 +00:00
gingerBill 121f0185d6 Custom thread local models 2017-11-03 23:46:42 +00:00
gingerBill fcc8b89e6b Fix issue #130; allow conversion from any pointer to uintptr and vice versa 2017-11-02 22:34:09 +00:00
gingerBill 529d1c78c7 Fix issue #131 2017-11-02 22:30:12 +00:00
gingerBill 3e05be8eb8 @(default_calling_convention = ...) for foreign blocks 2017-10-29 18:09:05 +00:00
gingerBill ae24a8e5ae Fix pointer arithmetic; remove suffix #tags for proc types 2017-10-29 17:00:54 +00:00
gingerBill d2588f9d1d Infix proc calling convention proc "std" (...) 2017-10-29 16:44:44 +00:00
gingerBill 1eb9994d88 Attributes; @(link_name="foo") 2017-10-29 15:46:23 +00:00
gingerBill a43b89f36e #alias type declarations; core library additions; _global import name for the global scope 2017-10-29 11:35:21 +00:00
gingerBill 85f7c2d040 Change foreign_library to foreign import 2017-10-15 15:21:56 +01:00
gingerBill 26ea8f6dcb Syntax: Replace foreign_system_library "kernel.lib" to foreign_library "system:kernel.lib"; Remove keyword: foreign_system_library 2017-10-15 12:11:33 +01:00
Ginger Bill 5eaa8de8f9 Fix issue with #118 2017-10-12 21:01:16 +01:00
Ginger Bill 42312d9def Fix typos in c.odin 2017-10-10 23:43:31 +01:00
Ginger Bill 065d0e4ee3 Fix string_to_enum_value 2017-10-09 22:56:48 +01:00
Ginger Bill 6424966b7a Union tag stored as an integer 2017-10-08 15:16:13 +01:00
Ginger Bill 56a98a483f Better error messages for import cycles 2017-10-08 10:58:16 +01:00
Ginger Bill 91cc0b282a Fix issue #114 2017-10-04 18:57:27 +01:00
Ginger Bill 8f39ebbe5a Procedure literals for default values in structs 2017-10-01 20:01:00 +01:00
Ginger Bill c1e720a49b match to switch; Optional semicolons after "import" statements 2017-10-01 17:09:57 +01:00
Ginger Bill e2b9c87aa8 Wrap entry point main around the C style main in the IR 2017-09-30 11:20:35 +01:00
Ginger Bill c43d66c286 Use comma for struct field separators (disallow nesting) 2017-09-21 23:18:28 +01:00
Ginger Bill d614913c11 Fix decimal.odin, again 2017-09-20 23:17:33 +01:00
Ginger Bill 3bfaac0844 Fix decimal.odin assignment bug 2017-09-20 22:59:46 +01:00
Ginger Bill 3a644dad78 Fix issue #101 2017-09-20 20:45:40 +01:00
Ginger Bill d2c1c719bd Fix file load order and allow when statements at file scope 2017-09-20 20:38:32 +01:00
Ginger Bill cbcf4b6071 Fix issue #94 2017-09-11 22:49:26 +01:00
Ginger Bill e6e0aba8c3 Remove when suffixes; Implement file scope when statement, evaluated in source order 2017-09-10 15:17:37 +01:00
Ginger Bill 8e3b77aba8 Library collections 2017-09-07 20:55:59 +01:00
Ginger Bill 1e3b3c107c IR Fix for UnionTagValue 2017-08-28 23:04:48 +01:00
Ginger Bill cf3c5a878a export declarations 2017-08-27 19:36:43 +01:00
Ginger Bill 2d20bde495 Remove () grouping for foreign_library 2017-08-27 19:24:30 +01:00
Ginger Bill b9e347ef50 Replace import_load with using import . 2017-08-27 17:03:27 +01:00
Ginger Bill 1161aa829d Fix mem.Arena 2017-08-13 22:20:44 +01:00
Ginger Bill 33aad3a8ce Merge branch 'master' of https://github.com/gingerBill/Odin 2017-08-12 20:04:58 +01:00
Ginger Bill 4262c125c5 Fix struct #packed alignment calculation 2017-08-12 20:04:35 +01:00
Ginger Bill a09d5959ef Fix issues with OSX 2017-08-11 12:47:07 +01:00
Ginger Bill 0fff6a2b74 Fix i128 division 2017-08-10 23:46:12 +01:00
Ginger Bill f4c0405221 Fix inline #raw_union bug in issue #87 2017-08-08 21:27:42 +01:00
Ginger Bill 49d337c830 v0.6.2; Use Ada_Case for types 2017-08-03 21:21:56 +01:00
Ginger Bill 0fae31fb54 Extra type safety; Fix typos 2017-07-31 11:36:00 +01:00