Commit Graph

2458 Commits

Author SHA1 Message Date
gingerBill
482c687462 Fix procedure references in global compound literals in old backend 2020-05-13 22:42:15 +01:00
gingerBill
de8c1165c2 Fix procedure literal declarations at file scope with -llvm-api 2020-05-13 22:30:38 +01:00
gingerBill
d51b98a8d2 Add extra 128 bit integer procedures 2020-05-13 13:46:32 +01:00
gingerBill
6861ff47bc Replace entity_of_ident with entity_of_node 2020-05-12 16:28:22 +01:00
gingerBill
0ba3b5c0bd Fix bug for array-like compounds for LLVM-API 2020-05-12 14:57:37 +01:00
gingerBill
fcdfcfce19 Let -vet ignore intentional declaration shadowing #637 2020-05-12 10:31:49 +01:00
gingerBill
d49ecd9009 Merge pull request #638 from jharler/master
Fixed thread_pool not destroying threads
2020-05-11 17:38:05 +01:00
jharler
72a5030f3d Fixed thread_pool not destroying threads 2020-05-11 12:32:35 -04:00
gingerBill
197a72adde Merge pull request #616 from Tetralux/fix-sync-badopt
Fix potential bad optimization bug in sync.Ticket_Mutex
2020-05-10 10:37:11 +01:00
gingerBill
f043e92650 Add strconv.unquote_string and strconv.unquote_char 2020-05-09 13:58:45 +01:00
gingerBill
e3f3e715e2 Merge pull request #634 from Tetralux/enum_from_name
Add reflect.enum_from_name
2020-05-09 12:57:27 +01:00
gingerBill
e8f2fb58d9 Fix strconv.parse_ usage across other packages 2020-05-09 11:54:36 +01:00
Tetralux
8d2430e54d Add reflect.enum_from_name
Provides a way to go from a enum value name string to an actual enum value.

```
E :: enum { A, B }

// ...

s := "B";
v, ok := enum_from_name(E, s);
assert(ok && v == E.B);
```
2020-05-09 07:30:07 +00:00
gingerBill
dc1b3cc563 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-08 16:09:45 +01:00
gingerBill
d52695b077 Fix constant complex arithmetic bug 2020-05-08 16:09:35 +01:00
gingerBill
6adbdb1e0e Merge pull request #633 from Tetralux/fix-parseint-again
Fix parsing of single-digit numbers
2020-05-07 00:35:26 +01:00
Tetralux
7d4f9545a7 Fix parsing of single-digit numbers 2020-05-06 23:21:24 +00:00
gingerBill
4fc60601d3 Fix ABI typo 2020-05-06 20:18:43 +01:00
gingerBill
4f4c3bb03b Add -extra-linker-flags:<string> 2020-05-06 13:41:22 +01:00
gingerBill
8434cb8951 Merge pull request #630 from Tetralux/parseint
Refactor parsing procedures: Return (value, ok) instead
2020-05-05 21:05:13 +01:00
gingerBill
99ebb5af3b Support --flag as redundancy for -flag 2020-05-04 18:23:23 +01:00
gingerBill
45274868c3 Fix -subsystem:windows for normal backend 2020-05-04 18:07:49 +01:00
gingerBill
3ef9566817 Fix typo 2020-05-03 16:18:47 +01:00
gingerBill
3299d6a204 Add -ignore-vs-search 2020-05-02 18:50:38 +01:00
gingerBill
e27f5796d6 Add experimental atom op tables for llvm-backend 2020-05-02 18:45:57 +01:00
gingerBill
ba4363d678 Improve append_elem(s) logic 2020-05-02 12:09:25 +01:00
gingerBill
eb2b3572bb Move TypeProc outside 2020-05-02 11:59:43 +01:00
gingerBill
1a9e75267b Fix rc.exe call 2020-05-02 10:00:34 +01:00
gingerBill
dd0fb744fe Add missing ; 2020-04-30 19:26:31 +01:00
gingerBill
70a66cd559 Add -subsystem to odin build -help 2020-04-30 17:57:21 +01:00
gingerBill
832a586b8d Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-30 17:48:46 +01:00
gingerBill
117ade0700 Fix errors in package win32 2020-04-30 17:48:35 +01:00
Tetralux
25f77e32ee Fix doc comments 2020-04-29 23:35:26 +01:00
Tetralux
704ee9f851 Return (value: T, ok: bool) instead 2020-04-29 22:37:33 +01:00
Tetralux
190932935c Refactor parse_* procedures: arbitrary bases, and return (value, rest_of_string) 2020-04-29 21:33:33 +01:00
gingerBill
a10d180d81 Merge pull request #627 from zhibog/master
Added #maybe to the builtin parser and ast for Unions
2020-04-25 17:49:06 +01:00
zhibog
c704de8442 Added the #maybe directive to the union struct in the AST. Also added it to the parsing code for a union. 2020-04-25 18:21:32 +02:00
gingerBill
f63b9806d2 LLVM API: Fix compound literals with constant parameters to union fields 2020-04-25 14:45:34 +01:00
gingerBill
9409f53a9b Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-24 20:42:57 +01:00
gingerBill
9faf292218 Fix @(export) for global variable declarations 2020-04-24 20:42:47 +01:00
Mikkel Hjortshøj
92f5f86193 Remove push: on nightly 2020-04-23 22:38:54 +02:00
Mikkel Hjortshøj
1e711fa5a5 Merge pull request #625 from ThisDrunkDane/nightly-build
Improve nightly builds
2020-04-23 22:38:22 +02:00
Mikkel Hjortshoej
51b346753a Github actions apparently doesn't support YAML comments 2020-04-23 22:30:44 +02:00
Mikkel Hjortshoej
b63aa0520a Remove the LLVM-C.lib from nightlies and include LLVM-C.dll 2020-04-23 22:30:07 +02:00
Mikkel Hjortshoej
04e106e06a Test push 2020-04-23 22:17:49 +02:00
Mikkel Hjortshoej
5d42a6de6e Remove llvm-binaries.zip from artifacts 2020-04-23 22:17:27 +02:00
Mikkel Hjortshoej
bb3e0fa03f Add sizeInBytes of zip files to nightly.json generation 2020-04-23 22:16:31 +02:00
Tetralux
e7e936f480 Merge branch 'master' into fix-sync-badopt 2020-04-22 06:12:41 +01:00
gingerBill
026bb8ed6f Remove unused headers 2020-04-21 23:26:59 +01:00
gingerBill
cbc3800797 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-21 23:26:09 +01:00