gingerBill
|
34ca4e92eb
|
Fix parser logic for first comment group line in a file
|
2020-11-17 15:45:55 +00:00 |
|
gingerBill
|
7442f4bab6
|
Fix typo
|
2020-11-17 15:17:36 +00:00 |
|
gingerBill
|
4f303603e7
|
Add more documentation for odin doc flags
|
2020-11-17 15:15:26 +00:00 |
|
gingerBill
|
a0fbc56317
|
Improve flags for odin doc
|
2020-11-17 15:13:38 +00:00 |
|
gingerBill
|
d90fc18bef
|
Basic odin doc support
|
2020-11-17 15:05:16 +00:00 |
|
gingerBill
|
00192bb349
|
Improve flag handling to check for invalid uses
|
2020-11-17 13:55:08 +00:00 |
|
gingerBill
|
edd9d5e50b
|
Add -show-unused-with-location
|
2020-11-17 13:02:10 +00:00 |
|
gingerBill
|
fea8c63ab3
|
Fix string_compare
|
2020-11-17 12:19:28 +00:00 |
|
gingerBill
|
6f71d1f2a9
|
Add -show-unused (Shows unused package declarations of all imported packages)
Crude output at the moment but better than nothing
|
2020-11-17 12:10:25 +00:00 |
|
gingerBill
|
ca4b0527e8
|
Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> when the parameter doesn't need to grow
|
2020-11-16 15:18:25 +00:00 |
|
gingerBill
|
adf6c85fd3
|
Minimize Ast flags usage
|
2020-11-16 01:42:30 +00:00 |
|
gingerBill
|
939878df50
|
Improve logic for x->y() shorthand
|
2020-11-15 23:54:18 +00:00 |
|
gingerBill
|
5fafb17d81
|
Improve generate_entity_dependency_graph: Calculate edges for graph M - Part 2
|
2020-11-15 22:46:07 +00:00 |
|
gingerBill
|
3a229397e4
|
Add next_pow2_isize for PtrSet
|
2020-11-15 21:22:26 +00:00 |
|
gingerBill
|
db0bcbc4f4
|
Fix calling convention for new LLVM ABI, and changePtrSet index to be u32 rather than isize
|
2020-11-15 21:19:08 +00:00 |
|
gingerBill
|
0d6f5cec37
|
Implement custom temporary allocator using ring buffer
|
2020-11-15 19:36:37 +00:00 |
|
gingerBill
|
17ec3e72a6
|
Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a block
|
2020-11-15 18:45:40 +00:00 |
|
gingerBill
|
30d922b059
|
Make set_procedure_abi_types use the permanent_allocator
|
2020-11-15 18:11:49 +00:00 |
|
gingerBill
|
3c1c10a178
|
Begin clarifying allocation patterns by changing from heap_allocator to specific arenas
|
2020-11-15 18:08:52 +00:00 |
|
gingerBill
|
9f93042163
|
Improve lb_abi_to_odin_type
|
2020-11-14 17:09:42 +00:00 |
|
gingerBill
|
a64ea342df
|
Improve USE_NEW_LLVM_ABI_SYSTEM's System V ABI
|
2020-11-12 23:40:13 +00:00 |
|
gingerBill
|
fa284f9a5a
|
Fix import paths
|
2020-11-12 14:20:33 +00:00 |
|
gingerBill
|
78b6948ff2
|
Reorganize package strings
|
2020-11-12 14:17:41 +00:00 |
|
gingerBill
|
a6c5c203ab
|
Begin work on Sys V for new ABI system
|
2020-11-12 01:21:09 +00:00 |
|
gingerBill
|
70b8b3c7dd
|
Update LLVM backend to begin work on a generic ABI system
|
2020-11-12 00:43:49 +00:00 |
|
gingerBill
|
6ee4f51670
|
Add new math procedure: inf_f32 inf_f64 nan_f32 nan_f64
|
2020-11-11 11:42:21 +00:00 |
|
gingerBill
|
e8da2ef65e
|
Update package unicode
|
2020-11-10 19:00:38 +00:00 |
|
gingerBill
|
6c0fa24e5d
|
Force dependency for @(export) entities
|
2020-11-10 19:00:16 +00:00 |
|
gingerBill
|
49e140f4db
|
Add utf8.full_rune
|
2020-11-10 16:47:56 +00:00 |
|
gingerBill
|
95b94a0f56
|
Fix sync.Channel code; add thread.run_with_poly_data and run_with_poly_data(2|3|4) procedures
|
2020-11-10 15:00:40 +00:00 |
|
gingerBill
|
ee3b3fe6a3
|
Fix typeid_of bug
|
2020-11-10 14:48:57 +00:00 |
|
gingerBill
|
eea3a1ecd3
|
Improve sync.Channel to encode the direction into the type
|
2020-11-09 13:05:02 +00:00 |
|
gingerBill
|
31f4590f4b
|
Fix default parameters on record types
|
2020-11-09 13:04:36 +00:00 |
|
gingerBill
|
7909a9f5a5
|
Remove debug code causing bug
|
2020-11-09 10:36:09 +00:00 |
|
gingerBill
|
c26cb470a2
|
Fix LLVM-API type cycle for procedures of named procedures
|
2020-11-09 10:27:27 +00:00 |
|
gingerBill
|
3d5e180dec
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-11-08 23:55:53 +00:00 |
|
gingerBill
|
44baf56d62
|
Fix cyclic check in is_type_polymorphic
|
2020-11-08 23:54:09 +00:00 |
|
gingerBill
|
7c5247f5fb
|
Add package sys/cpu - implements processor feature detection
|
2020-11-06 00:39:09 +00:00 |
|
gingerBill
|
9ac6d45bd6
|
Add more procedures to package slice
|
2020-11-06 00:38:03 +00:00 |
|
gingerBill
|
6912ef1bc1
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-10-29 09:58:15 +00:00 |
|
gingerBill
|
08fae7360a
|
Fix ir printing for nested procedure literals indirectly through identifiers
|
2020-10-29 09:58:08 +00:00 |
|
gingerBill
|
4629754f7c
|
Inline asm expression (-llvm-api)
See https://llvm.org/docs/LangRef.html#inline-assembler-expressions
Example:
```
x := asm(i32) -> i32 {
"bswap $0",
"=r,r",
}(123);
```
Allowed directives `#side_effect`, `#align_stack`, `#att`, `#intel` e.g. `asm() #side_effect #intel {...}`
|
2020-10-24 16:32:37 +01:00 |
|
gingerBill
|
0061e63db0
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-10-24 15:08:46 +01:00 |
|
gingerBill
|
5fa488f163
|
Add intrinsics.cpu_relax for llvm-api
|
2020-10-24 15:08:35 +01:00 |
|
gingerBill
|
feeb342c00
|
Improve multiple return value copy-elision
|
2020-10-20 17:08:55 +01:00 |
|
gingerBill
|
c4dbc88a12
|
Improve array programming code generation
|
2020-10-20 15:38:41 +01:00 |
|
gingerBill
|
f4b4cd0433
|
Specific set the code gen level for -llvm-api
|
2020-10-20 12:43:15 +01:00 |
|
gingerBill
|
4e5b8f2c61
|
Add -build-mode:assembly for -llvm-api
|
2020-10-20 12:35:12 +01:00 |
|
gingerBill
|
0be6ddc7e2
|
Add -microarch:<string> (e.g. -microarch:native)
|
2020-10-20 12:25:11 +01:00 |
|
gingerBill
|
b1bdd95f19
|
Begin work on making packages import assembly sort files (.S)
|
2020-10-16 15:32:09 +01:00 |
|
gingerBill
|
063c0548b0
|
Add new package strings procedures: trim_prefix, trim_suffix, to_valid_utf8
|
2020-10-16 15:30:14 +01:00 |
|
gingerBill
|
41f6a684e1
|
Rename slice.sort_proc to slice.sort_by; add slice.sort_by_key
|
2020-10-16 14:55:36 +01:00 |
|
gingerBill
|
289908e0b8
|
Add +build ignore tag
|
2020-10-15 16:25:57 +01:00 |
|
gingerBill
|
5a28a7e0f5
|
Add intrinsics.type_field_index_of
|
2020-10-15 16:12:47 +01:00 |
|
gingerBill
|
f8e697dbbb
|
Fix indirect selector bug with using on offset_of
|
2020-10-15 14:58:57 +01:00 |
|
gingerBill
|
7fc3030c63
|
Update path/filepath to use new slice.sort; Add sort.reverse_interface
|
2020-10-14 20:47:13 +01:00 |
|
gingerBill
|
edd802e1ff
|
Add package slice; New sort.Interface with default sort.sort
|
2020-10-14 19:52:05 +01:00 |
|
gingerBill
|
de13584be2
|
Add #no_bounds_check to crc procedures
|
2020-10-14 16:00:08 +01:00 |
|
gingerBill
|
8806283cf7
|
Improve location information for log.panic*
|
2020-10-14 15:59:45 +01:00 |
|
gingerBill
|
ec5934705c
|
Enforce do bodies to be on the same line as the control statement's condition or token
|
2020-10-14 15:59:19 +01:00 |
|
gingerBill
|
fa33476438
|
Improve default temp allocator; Fix filepath.abs behaviour on Windows
|
2020-10-13 14:40:13 +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
|
a65553293f
|
Add mem.Small_Allocator
|
2020-10-02 11:09:36 +01:00 |
|
gingerBill
|
8f28312705
|
Fix pop behaviour, and improve assert messages by using #caller_location
|
2020-10-02 11:04:17 +01:00 |
|
gingerBill
|
3a4f0d85a6
|
Fix container.Array and container.Ring
|
2020-10-01 17:04:56 +01:00 |
|
gingerBill
|
c604e359c7
|
Move flush to within the sbprint* procedures
|
2020-10-01 12:09:38 +01:00 |
|
gingerBill
|
66c648e5e0
|
Remove unused variable
|
2020-10-01 12:05:42 +01:00 |
|
gingerBill
|
e83af93394
|
Allow flushing with strings.Builder; Make fmt.fprint* procedures use a custom flush procedure
|
2020-10-01 12:03:20 +01:00 |
|
gingerBill
|
dd4c02a1b9
|
Fix multiple declared foreign procedures
|
2020-10-01 12:02:07 +01:00 |
|
gingerBill
|
bc2151f529
|
Add new os_specific_*.odin files
|
2020-10-01 10:59:47 +01:00 |
|
gingerBill
|
252a864308
|
Reimplement the Windows OS dependencies in package runtime
|
2020-10-01 10:57:02 +01:00 |
|
gingerBill
|
9513cf1ac6
|
Fix os.stat code; make fmt.panicf diverging
|
2020-09-30 22:04:39 +01:00 |
|
gingerBill
|
c35d533ce5
|
Replace the *_remove_range with procedures with remove_range
|
2020-09-30 12:38:40 +01:00 |
|
gingerBill
|
464e733b88
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-09-29 11:11:42 +01:00 |
|
gingerBill
|
519dcc2b76
|
Add os.read_at and for Windows; fix mem.clone_slice; fix current directory locking code
|
2020-09-29 11:11:28 +01:00 |
|
gingerBill
|
e95addb1f4
|
Revert user_data addition
|
2020-09-28 12:40:48 +01:00 |
|
gingerBill
|
d343e47a86
|
Add user_data parameter to filepath.walk and filepath.Walk_Proc
|
2020-09-28 12:39:34 +01:00 |
|
gingerBill
|
1d21740afb
|
Add filepath.walk
|
2020-09-28 12:29:14 +01:00 |
|
gingerBill
|
9ae3879956
|
Add os.stat, os.lstat, os.fstat, filepath.walk
|
2020-09-28 12:28:02 +01:00 |
|
gingerBill
|
2ebb94fa72
|
Allow os.read_dir to use a different allocator
|
2020-09-27 00:31:29 +01:00 |
|
gingerBill
|
96a0125599
|
Fix typo in reflect.set_union_variant_type_info
|
2020-09-27 00:30:54 +01:00 |
|
gingerBill
|
626d0736f4
|
Add more to package reflect (as_string, as_pointer, as_raw_data, relative_pointer_to_absolute)
|
2020-09-27 00:15:16 +01:00 |
|
gingerBill
|
e26f63b448
|
Update package reflect
|
2020-09-26 23:51:42 +01:00 |
|
gingerBill
|
b9076b0d5b
|
Add package unicode/utf8/utf8string for efficient utf8 codepoint indexing to strings
|
2020-09-26 23:16:18 +01:00 |
|
gingerBill
|
c43b8ef387
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2020-09-26 23:12:20 +01:00 |
|
gingerBill
|
b9f511954a
|
Make runtime.slice_handle_error explicitly diverging
|
2020-09-26 23:12:04 +01:00 |
|
gingerBill
|
0bd38ba1f6
|
Add some comments to explain what the differences between packages path and path/filepath
|
2020-09-26 20:17:54 +01:00 |
|
gingerBill
|
49eaeccd84
|
Remove OS specific stuff from package path
|
2020-09-26 20:02:24 +01:00 |
|
gingerBill
|
840af6825a
|
Update packages os, path, and filepath
|
2020-09-26 16:02:03 +01:00 |
|
gingerBill
|
3ccaf47566
|
Remove unused imports
|
2020-09-25 20:23:29 +01:00 |
|
gingerBill
|
8cc5cd1494
|
Add package path/filepath; Add os.stat for windows (TODO: unix)
|
2020-09-25 20:20:53 +01:00 |
|
gingerBill
|
6b634d5e46
|
Fix fmt with -vet
|
2020-09-25 15:54:23 +01:00 |
|
gingerBill
|
903ba1c5d8
|
Add built-in custom formatters for time.Time and time.Duration
|
2020-09-25 15:47:39 +01:00 |
|
gingerBill
|
b42c7f9161
|
Update package path and fix bugs; add path.match which uses shell pattern matching
|
2020-09-25 11:43:51 +01:00 |
|
gingerBill
|
654b24e514
|
Add -disallow-do
|
2020-09-23 17:17:32 +01:00 |
|
gingerBill
|
fc4fdd588e
|
Remove usage of do in core library
|
2020-09-23 17:17:14 +01:00 |
|
gingerBill
|
4844dd4d96
|
Add check to block statements to see if they only contain one statement, a value declaration, and err.
|
2020-09-23 11:16:33 +01:00 |
|
gingerBill
|
609af3a651
|
Fix and clean up default procedure parameter code for non-constant types
|
2020-09-22 12:06:05 +01:00 |
|
gingerBill
|
20e4548999
|
Make llvm-c header use local includes
|
2020-09-18 13:18:28 +01:00 |
|