Christoffer Lerno
44df6eb75b
Cleanup.
2022-08-12 18:13:24 +02:00
Christoffer Lerno
5cacc41925
Add global builder / updated codegen.
2022-08-12 01:50:48 +02:00
Christoffer Lerno
b1d83e2ccd
Auto-import std::core. Fix module assignment of declarations. Introspection improvements. Deref null error panics in safe mode. Support for LLVM 15
2022-06-29 21:57:35 +02:00
Christoffer Lerno
05d8e6c7b8
Fix debug panic for vector shift and division.
2022-03-20 19:39:31 +01:00
Christoffer Lerno
7226bff6ea
Use JSON, unifying settings.
2022-02-15 18:53:54 +01:00
Christoffer Lerno
eed5b7db54
Correctly call x64 varargs.
2022-01-13 21:22:50 +01:00
Christoffer Lerno
4d4bbbdebc
Parses attribute defines. Removal of incremental array parsing. Labels in macros should now work correctly. Volatile and attribute are no longer keywords. Checked a few todos. On test failure, return -1
2021-11-18 20:36:45 +01:00
Christoffer Lerno
7b04e7cf85
Added experimental "scoping" and fixed (simple) debug symbols
2021-11-17 23:56:09 +01:00
Christoffer Lerno
137b474f44
Update tester to read utf-8
2021-11-08 22:22:01 +01:00
Christoffer Lerno
55f676dd5c
Fix to testscript.
2021-10-19 20:57:47 +02:00
Christoffer Lerno
96571e2b65
Update tester to avoid adding CR on win.
2021-10-19 20:48:48 +02:00
Christoffer Lerno
b4df56db54
Removed original_type, pure, removed bigint, added i128 type, lots of fixes to $Foo, reassigning ct type, catch/macro, "!", removed type inference.
2021-10-19 10:39:02 +02:00
Christoffer Lerno
fb9be722bc
Fix issue with default macro arguments. Test of ?? instead of else. Added libc
2021-09-20 22:25:01 +02:00
Christoffer Lerno
232632b74e
Add section with (incomplete) checking for mach-o
2021-08-18 22:28:43 +02:00
Christoffer Lerno
bc4ed2b213
Use assert functions on various platforms.
2021-08-16 16:43:53 +02:00
kvk1920
429fb647fb
CI testing ( #234 )
...
* run test in CI
* make CI run
* fix some issues with paths on Windows
* avoid using float80
* add mingw64 ci
* fix path issue in tests
* add lld for mingw64 CI
2021-07-17 10:30:19 +02:00
Christoffer Lerno
3a74c4adfc
Update to python test framework.
2021-04-07 11:14:55 +02:00
Christoffer Lerno
31e9ec3d52
Optimize load of return & some parameter types. Fix issue with non-exapanding coerce. Add support for specific arch_os in tests.
2020-11-24 20:31:18 +01:00
Christoffer Lerno
009ccfd730
Adding assert.
2020-08-01 20:53:47 +02:00
Christoffer Lerno
a533cbb1a7
Fixes to tester for multiple file support.
2020-07-27 11:40:45 +02:00
Christoffer Lerno
7b7abf5d4a
Fixes to defer, allowing break in defer (instead of continue). Fixed bug in PTR->BOOL cast. Extended test system to support multi files and codegen.
2020-07-27 11:40:45 +02:00
Christoffer Lerno
e3566ba838
Fixed crash bug on missing module, and on file name == keyword. Added summary to tester and corrected filename.
2020-07-25 21:54:32 +02:00
Christoffer Lerno
ed01616f1e
Changed how structs/unions are parsed so that recovery becomes more robust. Allow for more complex error data. Fixed recursive structs/unions. Corrected prefix precedence rules. Begin work on checking initializer constant-ness. Fixed error on failed arithmetic promotion. Added checks on constant overflow of sub/add/mult. Allow "current_module_name::x" to refer to globals. Added many tests.
2020-07-23 18:04:18 +02:00
Christoffer Lerno
f45d6ef84b
Fix, separate out the function pass from the decl pass. Diagnose non-visible symbols as not visible rather than missing. Fix crash when module identifier is incorrect. !! operator added. New character literal parsing. Added simple test framework.
2020-07-21 23:43:28 +02:00