Commit Graph

2201 Commits

Author SHA1 Message Date
gingerBill
db7a3ffd2a Merge branch 'master' into llvm-integration 2020-03-05 21:12:16 +00:00
gingerBill
c213d72ec6 Fix #580 defer bug 2020-03-05 20:58:59 +00:00
gingerBill
01b1385672 Disable tmp_block behaviour for ir_find_or_generate_context_ptr 2020-03-05 20:36:53 +00:00
gingerBill
e92fdb4a99 x if cond else y and x when cond else y expressions 2020-03-05 20:34:30 +00:00
gingerBill
7d93dd6024 Move module pass to after all function passes 2020-03-05 19:00:23 +00:00
gingerBill
e1da631d26 General functionality without context 2020-03-04 22:09:58 +00:00
gingerBill
6151fdb324 Merge branch 'master' into llvm-integration 2020-03-04 19:27:01 +00:00
gingerBill
2fe0eaf2ad Fix formatting 2020-03-04 13:10:39 +00:00
gingerBill
3f63e12198 Add -subsystem:console and -subsystem:windows flags for windows 2020-03-02 18:54:56 +00:00
gingerBill
10cde925ca Add checks for pre-existing type declarations. 2020-03-02 18:48:52 +00:00
gingerBill
56240240f6 Range Statement support 2020-02-29 14:29:47 +00:00
gingerBill
f83e1b8b0a Fix any type and casting to any; Fix switch statement 2020-02-29 12:24:52 +00:00
gingerBill
a27c68f526 Type_Info initialization 2020-02-29 11:12:37 +00:00
gingerBill
8ec5987ae1 Merge branch 'master' into llvm-integration 2020-02-29 09:55:25 +00:00
gingerBill
408fa027af Merge pull request #576 from Tetralux/patch-5
Fix encoding/base64 encoding null bytes incorrectly
2020-02-29 09:53:55 +00:00
gingerBill
5e903ed2ff Merge pull request #537 from Tetralux/fix-heap-alloc
Fix heap allocator alignment on all platforms
2020-02-29 09:49:24 +00:00
gingerBill
ce20604e3c Fix #578 2020-02-29 09:35:41 +00:00
Tetralux
92e1c71dd6 Fix encoding/base64 encoding null bytes incorrectly
Fixes #574.

Thanks @jroatch!
2020-02-28 14:52:16 +00:00
gingerBill
3d74c2f6c0 Add proc(#const x: Type) to enforce a constant parameter (but not polymorphic) to a procedure 2020-02-26 22:53:40 +00:00
gingerBill
1596bca92d Add intrinsics.cpu_relax 2020-02-26 22:29:12 +00:00
gingerBill
470508adbc Clean-up initialization code 2020-02-26 22:05:52 +00:00
gingerBill
8f42958ba3 Fix __dynamic_array_reserve 2020-02-26 12:58:22 +00:00
gingerBill
4d7270cec9 Fix __dynamic_array_reserve to allow for zero sized elements 2020-02-26 12:55:56 +00:00
gingerBill
b13423d7f7 Global variable initialization support 2020-02-23 16:25:11 +00:00
gingerBill
703404a54d Merge branch 'master' into llvm-integration 2020-02-23 10:55:41 +00:00
gingerBill
15f5c85379 Fix comparison against nil for union #maybe pointers 2020-02-23 10:55:09 +00:00
gingerBill
e197af766d Merge branch 'master' into llvm-integration 2020-02-23 10:39:57 +00:00
gingerBill
10fe5e97b3 Merge pull request #541 from Tetralux/getcwd
Add os.get_current_directory / os.set_current_directory
2020-02-23 10:39:21 +00:00
gingerBill
5073fcd39e Improve error message on using with procedure parameters #568 2020-02-23 10:37:27 +00:00
gingerBill
a72ac6f841 Fix #572 2020-02-23 10:26:49 +00:00
gingerBill
8a67775149 Fix #571 2020-02-23 10:20:12 +00:00
gingerBill
85e331d5e2 Fix #566 2020-02-23 10:13:42 +00:00
gingerBill
81b00c7a3e Fix #563 2020-02-23 10:11:43 +00:00
gingerBill
49ecd73406 Merge pull request #562 from Tetralux/string-compare
Fix #552: Fix strings.compare for empty strings and different-length strings.
2020-02-23 10:08:50 +00:00
gingerBill
2180f4a475 Basic work on obj generation 2020-02-23 10:04:25 +00:00
Tetralux
1f0c1943da Fix #552.
- Fix comparisons involving one or more empty string.
- Fix comparisons against two strings of different lengths.
2020-02-12 11:25:12 +00:00
Mikkel Hjortshøj
0b7711684b Delete dockerimage.yml
My bad
2020-02-11 21:53:45 +01:00
Mikkel Hjortshøj
9821b2be25 Create dockerimage.yml 2020-02-11 21:52:10 +01:00
Mikkel Hjortshøj
49b42f585c Merge pull request #560 from ThisDrunkDane/master
Enhance logger interface with 'f' and not 'f' variants, also move level detection out
2020-02-10 11:55:49 +01:00
Mikkel Hjortshoej
9d5692ae68 Enhance logger interface with 'f' and not 'f' variants, also move level detection out 2020-02-10 01:26:04 +01:00
gingerBill
bfda101686 Get basic IR code generation working properly 2020-02-10 00:14:43 +00:00
vassvik
6d67567453 Fix linalg.matrix_mul_vector.
Incorrect index.
2020-02-09 18:47:02 +01:00
gingerBill
35711a400c Anonymous procedure literal support 2020-02-08 12:49:38 +00:00
gingerBill
66da96284a Add defer statement for LB 2020-02-07 00:01:44 +00:00
gingerBill
7d9600b740 Ternary Expr; lbAddr extra; Phi node support 2020-02-06 23:33:41 +00:00
vassvik
0c09cb9c12 Fix math.acos and math.asin, add f64 overloads. 2020-02-06 13:35:55 +01:00
gingerBill
09e1cf0737 IfStmt 2020-02-05 23:41:10 +00:00
gingerBill
992858b687 Add ReturnStmt 2020-02-05 22:39:23 +00:00
gingerBill
b555b0083a Slowly add more statements and expressions; Add header file 2020-02-05 20:18:19 +00:00
Mikkel Hjortshøj
25feb507a4 Merge pull request #556 from oskarnp/issue-555
Fix #555
2020-02-05 21:03:36 +01:00