Commit Graph

834 Commits

Author SHA1 Message Date
gingerBill
40281d595d Fix parsing errors for variadic signatures 2017-11-10 22:03:05 +00:00
gingerBill
85fab55e57 Fix make 2017-11-10 21:43:37 +00:00
gingerBill
1d2eb8055e Merge pull request #140 from vassvik/master
Fixed foreign import for linux. Modified .gitignore to ignore temp files and files in shared/. Added a Makefile for linux
2017-11-10 21:17:16 +00:00
vassvik
9e0b69312b Fixed foreign import for linux. Modified .gitignore to ignore temp files and files in shared/. Added a Makefile for linux 2017-11-10 21:31:13 +01:00
gingerBill
bbddbba340 Fix cast to uintptr 2017-11-10 18:56:47 +00:00
gingerBill
0d01a6f552 Fix issue #139 2017-11-10 18:24:49 +00:00
gingerBill
ae3672608d Fix link_name overriding 2017-11-09 23:36:10 +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
dbb070524f Allow nil in a ternary statement 2017-11-09 21:10:08 +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
ac46b2053d Remove unnecessary IR bound checks 2017-11-08 22:14:07 +00:00
gingerBill
0ffcccdae5 Add Source_Code_Location parameter Allocator_Proc (#138) 2017-11-08 22:05:51 +00:00
gingerBill
4777bd607e Fix issue #137 2017-11-08 22:02:15 +00:00
gingerBill
39e9b50482 Remove debug code 2017-11-07 23:09:05 +00:00
gingerBill
30adb9c770 Fix issue #134 2017-11-07 23:05:39 +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
74341b9b74 Fix IR generation issue 2017-11-05 19:37:46 +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
04b917a60a More code clean up 2017-11-04 10:53:47 +00:00
gingerBill
e6c99cd289 Cleanup attribute handling 2017-11-04 10:26:56 +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
e7999f8450 Foreign context cleanup 2017-11-03 23:20:30 +00:00
gingerBill
0b29e42adb link_prefix; thread_local; fix link_name for file-scope variables 2017-11-03 23:11:06 +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
414486829a Add string_set.cpp; Code clean up 2017-10-30 20:26:05 +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
0ed34af19d Fix importation of empty file (issue #128) 2017-10-18 22:52:42 +01:00
gingerBill
71729c2855 Add anonymous using import names with an underscore (#127)
`using import _ "foo.odin"`
2017-10-18 22:29:14 +01:00
gingerBill
6c8c430c2a Fix enum iteration (issue #126) 2017-10-18 22:26:04 +01:00
gingerBill
57b97ad0bd Fix issue #124 2017-10-15 23:30:55 +01:00
gingerBill
56f7a859df Refactor code to remove entity flag for export 2017-10-15 16:16:16 +01:00
gingerBill
e5e14b9947 Remove name mangling for foreign export variables 2017-10-15 16:11:34 +01:00
gingerBill
3d8bf36a30 foreign export block
```
foreign export {
    my_i32: i32;
    my_foo :: proc() -> i32 {
        return 123;
    }
}
```
2017-10-15 16:05:42 +01: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
gingerBill
e05fe1837d Fix minimal dependency generation for polymorphic structs (related to issue #121) 2017-10-15 11:21:48 +01:00
gingerBill
94762b56f6 Fix issue #122 2017-10-15 10:14:17 +01:00
gingerBill
b3b688fa50 Fix issue #123 2017-10-15 10:09:50 +01:00
Ginger Bill
5eaa8de8f9 Fix issue with #118 2017-10-12 21:01:16 +01:00
Ginger Bill
26d3c54aff Fix issue #119
This may need better error messages
2017-10-12 20:52:19 +01:00