This website requires JavaScript.
Explore
Help
Register
Sign In
shishantbiswas
/
c3c
Watch
1
Star
1
Fork
0
You've already forked c3c
mirror of
https://github.com/c3lang/c3c.git
synced
2026-02-27 12:01:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
748c737e8ff5753c8d5504cfb90b22246fb1d35b
c3c
/
test
/
unit
/
stdlib
History
Christoffer Lerno
748c737e8f
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
..
collections
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
core
0.5.2: Allow trailing comma in calls and parameter declarations
#1092
. Fixes issue where single character filenames like 'a.c3' would be rejected. Improve error messages for incorrect user defined foreach. Fix bug with generics in generics. Fix to error with modified vector parameters. Crash with lhs vector inference. Fixes to priority queue.
2023-12-23 23:15:51 +01:00
crypto
Use "String" consistently for "char[]" (
#694
)
2023-01-07 22:50:33 +01:00
encoding
fix Object.free (
#982
)
2023-09-12 13:49:52 +02:00
hash
Sha1.
2023-02-24 10:49:01 +01:00
io
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
macros
Add --strip-unused.
2023-02-16 22:11:42 +01:00
math
Add
log(x, base)
function to
std::math
module.
2023-09-15 09:22:34 +02:00
mem
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
net
Fix missing free on GrowableBitSet. init_new/init_temp for GrowableBitSet, LinkedList, List, HashMap, DString, ByteBuffer. Interface to_string renamed to_new_string. Change in allocator usage, malloc is now heap. Added new_array, new_zero_array, new, new_clear, clone. Concat => concat_new. string::printf => string::new_format, string::tprintf => string::tformat. "to_*" are now "to_new_*" and "to_temp_*". "from_*" is "new_from*"
2023-11-09 01:59:49 +01:00
os
get_env for Win32, @pierrec's get_config_dir and get_home_dir
2023-09-25 16:29:49 +02:00
sort
0.5.3: Single-module not respected. Fix issue with compiler defined types. Fix optimization levels for projects. Use GEP i8 on offsets. Optimize foreach on len 1 arrays. Move panic blocks last. Fix generic module wildcard imports. Deprecate init_temp / init_new. Fix issue with macro vaarg and untyped lists. Fix extern const globals.
2024-01-14 15:34:54 +01:00
threads
Replace static initializer with @init / @finalizer
2023-10-03 12:45:43 +02:00
time
add NanoDuration.to_format() (
#935
)
2023-08-17 10:30:20 +02:00
atomic_types.c3
Architecture generic Atomics (C11 + extras) (
#958
)
2023-08-29 14:25:43 +02:00
atomic.c3
Architecture generic Atomics (C11 + extras) (
#958
)
2023-08-29 14:25:43 +02:00
conv_tests.c3
add DString.insert_at (
#1026
)
2023-10-05 19:12:47 +02:00
string_to_float.c3
Updated grammar. Removal of elif. Removal of ':' ';' in some ct statements. Empty faults is now an error. Remove "define" for types. Remove "private". Better errors on incorrect bitstruct syntax. Introduction of wildcard type rather than optional wildcard. Removal of scaled vector type. mkdir and rmdir. Disallow define @Foo() = { @inline }. Add handling for @optreturn and change it to @return!. Restrict interface style functions. Updated x64 ABI. stdlib updates to string. Removed deprecated functions. Update how variadics are implemented. Extended error messages. x86 ABI fixes. Shift check fixes. '!' and '?' are flipped. No trailing ',' allowed in functions. Fix to string parsing. Allow
l
suffix. Simplifying flatpath.
any
replaces
variant
,
anyfault
replaces
anyerr
. Allow getting the underlying type of anyfault. De-duplicate string constants. Fix of readme. Extended list. Fix of "(MyEnum)x + 1". Clock and DateTime types. Fixes to array concat.
2023-04-21 10:56:39 +02:00
string.c3
Updated grammar. Removal of elif. Removal of ':' ';' in some ct statements. Empty faults is now an error. Remove "define" for types. Remove "private". Better errors on incorrect bitstruct syntax. Introduction of wildcard type rather than optional wildcard. Removal of scaled vector type. mkdir and rmdir. Disallow define @Foo() = { @inline }. Add handling for @optreturn and change it to @return!. Restrict interface style functions. Updated x64 ABI. stdlib updates to string. Removed deprecated functions. Update how variadics are implemented. Extended error messages. x86 ABI fixes. Shift check fixes. '!' and '?' are flipped. No trailing ',' allowed in functions. Fix to string parsing. Allow
l
suffix. Simplifying flatpath.
any
replaces
variant
,
anyfault
replaces
anyerr
. Allow getting the underlying type of anyfault. De-duplicate string constants. Fix of readme. Extended list. Fix of "(MyEnum)x + 1". Clock and DateTime types. Fixes to array concat.
2023-04-21 10:56:39 +02:00