gingerBill
6ce5608003
Correct odin doc default parameter value init_string generation
2021-12-03 11:46:54 +00:00
gingerBill
db9326f31d
Merge pull request #1332 from odin-lang/nasm-support
...
NASM Support
2021-11-26 23:06:33 +00:00
gingerBill
27106dd9ae
Allow .asm, .s, and .S as valid assembly file extensions
2021-11-26 22:25:07 +00:00
gingerBill
33dc12a61a
Add supported check for .asm files
2021-11-26 14:46:03 +00:00
gingerBill
1e453cf1d7
Merge pull request #1296 from kevinsjoberg/do-not-filter-tests-when-empty
...
Do not filter test procedures when filter is empty
2021-11-25 09:13:31 +00:00
gingerBill
ae59f214ee
@(tag=<string>) - dummy attribute for tooling
2021-11-17 21:32:33 +00:00
gingerBill
e814a3693f
Improve usage of file_id
2021-11-15 17:26:01 +00:00
gingerBill
f47311f2f6
Remove scope field from Ast
2021-11-14 15:22:40 +00:00
gingerBill
3f038428a7
Begin minimizing Ast size
2021-11-14 15:12:37 +00:00
Kevin Sjöberg
61b02adc50
Do not filter test procedures when filter is empty
...
If `build_context.test_names` is empty, we do not need to perform any
filtering.
2021-11-10 15:49:23 +01:00
Kevin Sjöberg
b8dec4268d
Postpone checking test procedures
...
The dependency set need to be generated before we check the testing
procedures. Otherwise `checker->info.testing_procedures` will be empty
and thus no filtering is taking place.
2021-11-10 10:26:17 +01:00
gingerBill
dc2edd3e79
Improve support for freestanding_wasm32
2021-11-07 16:19:27 +00:00
gingerBill
86e26c9a44
Remove dead code
2021-11-05 17:13:26 +00:00
gingerBill
6646348e1a
Increase usage of PtrMap
2021-11-05 17:03:02 +00:00
gingerBill
924faa58b4
Correct map_remove(PtrMap)
2021-11-05 16:45:27 +00:00
gingerBill
e95204908a
Add PtrMap, begin working change Map to PtrMap where possible
2021-11-05 16:34:37 +00:00
gingerBill
a022f18015
Reorganize code
2021-11-05 12:11:33 +00:00
gingerBill
b2a2aa15c2
Add ODIN_BUILD_MODE
2021-11-04 12:49:39 +00:00
gingerBill
6ded538546
@(linkage=<string>) for procedures and variables; @(require) for procedures; package runtime linkage improvements; Subsequence improvements to lb_run_remove_unused_function_pass
2021-11-04 12:40:50 +00:00
gingerBill
9ab71ca0da
Add ODIN_NO_CRT global constant
2021-11-04 00:50:28 +00:00
gingerBill
5f51337a01
Add procs for wasm32
2021-10-31 19:00:01 +00:00
gingerBill
b4df51e483
Merge branch 'master' into new-matrix-type
2021-10-23 19:24:47 +01:00
gingerBill
c9effb9b9f
Correct ternary if expression type determination
2021-10-22 14:37:27 +01:00
gingerBill
ef73a284e3
Fix check_remove_expr_info
2021-10-22 14:12:48 +01:00
gingerBill
662cbaf425
Support indexing matrices
2021-10-19 12:13:19 +01:00
gingerBill
ba331024af
Very basic matrix support in backend
2021-10-18 18:16:52 +01:00
gingerBill
4c655865e5
Begin work on matrix type
2021-10-18 16:52:19 +01:00
gingerBill
7aac8df2f2
Add runtime._cleanup_runtime internal call
2021-10-18 12:28:46 +01:00
gingerBill
2c469a39c7
Simplify TIME_SECTION code
2021-10-12 15:09:57 +01:00
gingerBill
a463609e4c
If an entity is inserted into a scope already exists by the same name, it will not report as an error any more
2021-10-04 12:41:33 +01:00
gingerBill
2bdae52fed
Add @(init) attribute for procedures, allowing for procedures to be called at startup
...
These procedures will be called after global variables have been initialized as normal
2021-10-03 11:53:32 +01:00
gingerBill
fa0d58f96e
Correct f64 -> u128/i128 generation
2021-09-25 15:38:56 +01:00
gingerBill
fb8fa5217d
Begin minimize Type size by replacing Array with Slice etc
2021-09-13 00:58:39 +01:00
gingerBill
582559f7ac
Correct did you mean logic and make thread-safe-er
2021-08-27 11:18:38 +01:00
gingerBill
6d49df1d87
Don't use the thread pool if worker count is 0
2021-08-26 21:40:54 +01:00
gingerBill
ac191bd31f
Simplify logic for -thread-count:1
2021-08-26 21:30:23 +01:00
gingerBill
ad3a3547d6
Unify thread pool logic across the rest of the compiler, using a global thread pool
2021-08-26 21:22:30 +01:00
gingerBill
382ca20916
Correct procedure checking flag handling, and correct the (bodge) handle of unchecked procedure bodies
2021-08-23 19:24:53 +01:00
gingerBill
6a77fc4cdd
Add multi-pointer types [^]T
2021-08-21 23:10:21 +01:00
gingerBill
fa4f3aa7ad
Correct atomic usage
2021-08-19 17:51:19 +01:00
gingerBill
38841dd46e
Fix race condition from add_entity_use due to Entity.identifier
2021-08-19 17:38:18 +01:00
gingerBill
df372dbd5b
Migrate and remove more from gb.h
2021-08-19 15:38:21 +01:00
gingerBill
5c4d95d539
Move more of gb.h's Synchronization code into common.cpp
2021-08-19 15:19:36 +01:00
gingerBill
7845769d4b
Remove unused code
2021-08-19 15:03:10 +01:00
gingerBill
54af47a138
Remove useless code
2021-08-18 23:38:06 +01:00
gingerBill
b84ee3ab8f
Fix odin test not executing any tests
2021-08-18 23:33:27 +01:00
gingerBill
a01c946c20
Add mutex to Scope lookups and insertions
2021-08-18 11:17:14 +01:00
gingerBill
cdb3a5205c
Add mutex for add_type_and_value
2021-08-17 19:54:09 +01:00
gingerBill
94d298755a
Fix race condition when adding a dependency
2021-08-16 15:33:26 +01:00
gingerBill
9cfe20cfb4
Correct error message for add_import_dependency_node
2021-08-08 13:13:31 +01:00