Commit Graph

376 Commits

Author SHA1 Message Date
gingerBill
976415ff9d Fix key lookup of pointer to map 2017-11-21 22:32:41 +00:00
gingerBill
b651466630 Add ptr_to_bytes 2017-11-16 19:01:57 +00:00
gingerBill
24c09c9201 Allow for printf style assert and panic 2017-11-16 18:57:03 +00:00
gingerBill
e48346a9ee Disable negation of unsigned constants (Issue: #145) 2017-11-15 21:25:16 +00:00
gingerBill
9bd8bdaa5a Disable all cyclic importations 2017-11-13 23:53:01 +00:00
gingerBill
a137699d95 Add optional truncate parameter to write_entire_file (#144) 2017-11-13 20:35:21 +00:00
gingerBill
f6a56c2f82 Remove #const; Minor fixes 2017-11-12 20:15:17 +00:00
gingerBill
5ce6555721 Allow for default arguments after a variadic parameter 2017-11-12 17:55:16 +00:00
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