Christoffer Lerno
|
a0be188902
|
Lexing updated with simpler code. Note: may have bugs.
|
2021-12-27 15:45:54 +01:00 |
|
Christoffer Lerno
|
0a9a014e4a
|
Builtins now properly work with $defined. A builtin may not be an rvalue.
|
2021-12-25 21:08:08 +01:00 |
|
Christoffer Lerno
|
85ee021585
|
Adding missing symtab size option.
|
2021-12-24 23:15:50 +01:00 |
|
Christoffer Lerno
|
f6de1f7b74
|
Somewhat clearer code around lexing.
|
2021-12-24 01:09:21 +01:00 |
|
Christoffer Lerno
|
cf61f427d4
|
Add noalias to sret.
|
2021-12-23 13:26:55 +01:00 |
|
Christoffer Lerno
|
eb54e46569
|
Add necessary header for cmalloc
|
2021-12-22 13:09:01 +01:00 |
|
Christoffer Lerno
|
cf0a04977a
|
Prevent circular initializers.
|
2021-12-22 01:03:15 +01:00 |
|
thsm
|
1a9b8095b6
|
added {| |}, etc to vscode syntax highlighter
|
2021-12-22 00:41:36 +01:00 |
|
pyxel
|
012f258fa2
|
add vscode syntax plugin
|
2021-12-21 22:52:53 +01:00 |
|
Christoffer Lerno
|
eefe782dd6
|
Fix constant evaluation of | & ^ >> <<
|
2021-12-20 21:35:36 +01:00 |
|
Christoffer Lerno
|
6f77fdf800
|
Update assert for WASM part 3
|
2021-12-20 02:43:36 +01:00 |
|
Christoffer Lerno
|
8f6dd64483
|
Update assert for WASM part 2
|
2021-12-20 02:35:01 +01:00 |
|
Christoffer Lerno
|
04c3efc3c3
|
Update assert for WASM
|
2021-12-20 00:32:27 +01:00 |
|
Christoffer Lerno
|
4575e3dd8d
|
Fix fseek/ftell to work correctly.
|
2021-12-20 00:23:21 +01:00 |
|
Christoffer Lerno
|
b5b625e54a
|
Make sure normal flags aren't ignored for release.
|
2021-12-20 00:05:51 +01:00 |
|
Christoffer Lerno
|
52cc4f8ba5
|
Move compiler plain malloc calls to function to make them easy to track.
|
2021-12-19 23:11:32 +01:00 |
|
Christoffer Lerno
|
4e559e886c
|
Add some simple string functions. And fix bug relating to typedefs.
|
2021-12-19 21:04:43 +01:00 |
|
Dmitry Atamanov
|
802398dd44
|
Show option like clang (#355)
|
2021-12-19 17:23:42 +01:00 |
|
Christoffer Lerno
|
7c76fd02c6
|
Fix test data
|
2021-12-19 16:33:07 +01:00 |
|
Christoffer Lerno
|
dee0199f10
|
Add compiler options to simplify external tool usage.
|
2021-12-19 16:25:48 +01:00 |
|
Christoffer Lerno
|
5cbc619f13
|
.obj / .exe default suffix now depends on target, not compiler platform.
|
2021-12-19 13:11:43 +01:00 |
|
pyxel
|
01902b523a
|
Use supplied output name if available
|
2021-12-19 12:21:32 +01:00 |
|
pyxel
|
157d1a959b
|
Add output name to build options
|
2021-12-19 12:21:32 +01:00 |
|
Christoffer Lerno
|
4b3232ead6
|
Some initial wasm support.
|
2021-12-19 12:18:43 +01:00 |
|
Christoffer Lerno
|
cc8d266827
|
Temp fix of CI
|
2021-12-18 22:21:54 +01:00 |
|
Christoffer Lerno
|
6d6d410d13
|
Update nano type/keywords.
|
2021-12-18 17:19:09 +01:00 |
|
Hanna
|
6b34a8c82e
|
add kakoune editor resource
|
2021-12-18 17:00:30 +01:00 |
|
data-man
|
c39c7c3147
|
Update actions/checkout to v2
|
2021-12-17 20:43:00 +01:00 |
|
data-man
|
d360e97439
|
CMakeLists.txt refactoring
|
2021-12-17 16:08:35 +01:00 |
|
Christoffer Lerno
|
d305f9da49
|
Remove manual addition of ConstGEP2 etc
|
2021-12-17 16:00:18 +01:00 |
|
Christoffer Lerno
|
572aafe8b9
|
Remove use of LLVMBuildCall
|
2021-12-17 15:45:09 +01:00 |
|
Christoffer Lerno
|
c52629d60f
|
Main arguments are now slices if desired.
|
2021-12-17 01:28:57 +01:00 |
|
Christoffer Lerno
|
497eef5328
|
Removed code relating to empty structs.
|
2021-12-14 21:37:25 +01:00 |
|
Christoffer Lerno
|
680b077eb1
|
Flexible array member added, zero sized structs removed.
|
2021-12-14 19:00:33 +01:00 |
|
Christoffer Lerno
|
5ddbf50e83
|
Add unwrapping to variable for variant in switch.
|
2021-12-12 15:15:38 +01:00 |
|
thsm
|
908ac220c6
|
add cflags
|
2021-12-10 16:12:54 +01:00 |
|
Christoffer Lerno
|
958db2f594
|
Fix issue when compiling without cc set.
|
2021-12-09 23:54:57 +01:00 |
|
Christoffer Lerno
|
8aa00b015b
|
Add support from compiling c from c3c.
|
2021-12-09 23:38:57 +01:00 |
|
Christoffer Lerno
|
379a66a14b
|
Add switch(variant)
|
2021-12-09 22:52:48 +01:00 |
|
Christoffer Lerno
|
0887d1e7dc
|
Allow /* without termination.
|
2021-12-09 10:32:30 +01:00 |
|
Christoffer Lerno
|
4a6f587c9f
|
Incorrectly would do constant indexing into global when index was not constant.
|
2021-12-09 10:26:46 +01:00 |
|
Christoffer Lerno
|
e54679c01e
|
Remove string literals.
|
2021-12-09 02:15:05 +01:00 |
|
Christoffer Lerno
|
4bc47a195b
|
Introduce array pointer decay.
|
2021-12-09 00:49:50 +01:00 |
|
Christoffer Lerno
|
b003b05d5d
|
Support variant.ptr and subarray.ptr
|
2021-12-08 16:14:29 +01:00 |
|
Christoffer Lerno
|
b066c25432
|
Remove reminder logs unless --debug-log on. Fix UB in test.
|
2021-12-07 22:20:35 +01:00 |
|
Christoffer Lerno
|
bbda3a679f
|
Fixed issue where &foo[1] was not considered a constant when foo is a global.
|
2021-12-06 23:13:48 +01:00 |
|
Christoffer Lerno
|
49efa4fafc
|
Missing \n in output.
|
2021-12-06 09:19:37 +01:00 |
|
Christoffer Lerno
|
4153cbe16d
|
Change semantics of widening.
|
2021-12-05 23:41:45 +01:00 |
|
Christoffer Lerno
|
d6d4c0a912
|
Fix of init error.
|
2021-12-05 22:50:27 +01:00 |
|
Christoffer Lerno
|
06124ddb9f
|
Support variant type. Add fault alias to anyerr. Fix missing .len on string literals.
|
2021-12-05 22:34:21 +01:00 |
|