gingerBill
4d00c2b800
Allocator_Error.Mode_Not_Implemented; Minor improvement to map runtime procedures
2021-08-08 14:29:45 +01:00
gingerBill
9cc366de97
Be more consistent with runtime intrinsics usage
2021-07-03 14:38:15 +01:00
gingerBill
41f2539484
Improve logic for diverging procedures by checking if it terminates
2021-06-16 12:07:24 +01:00
gingerBill
8ec2ca9dcd
Remove context.thread_id
2021-06-08 15:57:00 +01:00
gingerBill
3eb42ecb55
Minor improvements to -use-separate-modules
2021-06-08 13:00:20 +01:00
gingerBill
518ecaf9c9
Allow unions to be comparable if all their variants are comparable
2021-05-03 13:17:16 +01:00
gingerBill
24fce21d90
Add "naked" calling convention (removes prologue and epilogue)
2021-04-28 10:49:30 +01:00
gingerBill
72aa0e6e38
Replace many foreign llvm calls with intrinsics
2021-04-25 20:22:26 +01:00
gingerBill
0a66f8c9a3
Remove intrinsics.x86_mmx type
2021-04-22 10:39:20 +01:00
gingerBill
47c7dc6a9b
Add new intrinsics: debug_trap, trap, read_cycle_counter, expect
2021-04-22 10:35:17 +01:00
gingerBill
c3b3194a00
Update builtin procedures to support the new allocator features (without breaking other code)
2021-04-19 22:44:20 +01:00
gingerBill
f98c4d6837
Improve the Allocator interface to support returning Allocator_Error to allow for safer calls
...
Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok)
2021-04-19 12:31:31 +01:00
gingerBill
359ae29d98
Minor fixes
2021-03-18 13:25:41 +00:00
gingerBill
1988856eed
Minimize the size of runtime.Source_Code_Location to use i32 instead of int
2021-03-05 12:56:36 +00:00
gingerBill
41b854f192
Remove #opaque types
2021-02-23 15:45:06 +00:00
gingerBill
28ed310f31
Remove "pure" and "pure_none" calling conventions
2021-02-23 13:10:23 +00:00
gingerBill
595885d3db
Remove bit_field in type info, runtime, and general core library
2021-02-19 11:36:23 +00:00
gingerBill
efdee0dafb
Remove bit_field type from Odin (keyword and dead runtime code still exists)
2021-02-19 11:31:14 +00:00
gingerBill
f0683c9102
Merge branch 'master' into parser-experiments
2020-12-06 00:49:48 +00:00
gingerBill
069c6cac3f
Add package name and source code location to Type_Info_Named
2020-12-05 20:47:50 +00:00
gingerBill
1a8ea6113a
Remove hash field in runtime.Source_Code_Location
2020-12-05 19:52:08 +00:00
gingerBill
f4f2b8f5ad
Add _internal field to context
2020-11-29 18:42:13 +00:00
gingerBill
1dfe0cdd1d
Simplify hashing approach map
2020-11-29 15:50:29 +00:00
gingerBill
97c66c9c73
Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure
2020-11-29 15:27:53 +00:00
gingerBill
39bed567b3
Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys
2020-11-29 14:22:42 +00:00
gingerBill
4762d2f2d1
map type internal reorganization
2020-11-23 16:56:31 +00:00
gingerBill
4e370e6ed8
Add equal procedure field to runtime.Type_Info_Struct
2020-11-23 15:53:49 +00:00
gingerBill
0b30c3dc5a
Add flags: Type_Info_Flags, to runtime.Type_Info
2020-11-23 14:35:31 +00:00
gingerBill
913eac13b1
Reorganize runtime code into separate files
2020-11-19 00:08:23 +00:00
gingerBill
54fbdabc38
Add experimental -insert-semicolon functionality to tokenizer and parser
2020-11-01 15:10:06 +00:00
gingerBill
5a28a7e0f5
Add intrinsics.type_field_index_of
2020-10-15 16:12:47 +01:00
gingerBill
1b4bccbc94
Add append_nothing
2020-10-08 12:23:44 +01:00
gingerBill
6eeb12a986
Improve default temp_allocator; make nil loggers do nothing; improve mem.Scratch_Allocator behaviour
2020-10-02 16:06:55 +01:00
gingerBill
8f28312705
Fix pop behaviour, and improve assert messages by using #caller_location
2020-10-02 11:04:17 +01:00
gingerBill
252a864308
Reimplement the Windows OS dependencies in package runtime
2020-10-01 10:57:02 +01:00
gingerBill
c35d533ce5
Replace the *_remove_range with procedures with remove_range
2020-09-30 12:38:40 +01:00
gingerBill
fc4fdd588e
Remove usage of do in core library
2020-09-23 17:17:14 +01:00
gingerBill
4cf240ca05
Fix odin/parser issues
2020-09-15 22:14:23 +01:00
gingerBill
9d91c46cb4
Move all os specific stuff for the runtime to one file
2020-09-15 12:19:56 +01:00
gingerBill
f48a873954
Reorganize package runtime
...
Separates out the OS specific stuff into different files
2020-09-15 11:52:19 +01:00
gingerBill
0cd681e6b7
Expose runtime._startup_runtime to allow for freestanding targets in the future
2020-09-15 10:51:51 +01:00
gingerBill
c1149dbdee
Update math and math/linalg; add "pure_none" calling convention
2020-09-10 15:00:19 +01:00
gingerBill
f5b8609160
Remove debug print
2020-09-07 12:15:54 +01:00
gingerBill
7f48cf8405
[REFLECTION BREAKING] Modify the internals of the map type to increase performance
2020-09-07 11:41:42 +01:00
gingerBill
9fd9130891
Add new core procedures: ordered_remove_range; unordered_remove_range; insert_at
2020-09-04 11:18:46 +01:00
gingerBill
e7f54d25d6
Add mem.Allocator_Query_Info and mem.query_info
2020-08-16 23:05:33 +01:00
gingerBill
033b46def8
Add mem.Allocator_Mode.Query_Features, mem.Allocator_Mode_Set, mem.query_features`
2020-08-16 22:07:40 +01:00
Oskar Nordquist
36cac87387
Add .Thread_Id option to log package
2020-07-22 17:42:01 +02:00
gingerBill
5b7c83d871
Add strings.pop_byte strings.pop_rune
2020-07-08 23:15:48 +01:00
gingerBill
0ea64182f1
Begin work on windows 386
2020-06-29 17:35:33 +01:00