About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
q
urbach.dev
/
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
馃尡 A minimal programming language and compiler.
git.urbach.dev/cli/q
high-performance
programming-language
compiler
+3 more
high-performance
programming-language
compiler
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
q
/
tests
220 files
at
main
Eduard Urbach
路
Fixed offset of thread-local variables
路
1mo ago
ffc2c62d
add.q
Added more tests for math operations
1y ago
array-assign.q
Fixed array element compound assignment
2mo ago
array-int-custom.q
Implemented reads from arrays of structs
1y ago
array-int-fixed-offset.q
Removed explicit delete calls
5mo ago
array-int-parameter.q
Removed explicit delete calls
5mo ago
array-int.q
Removed explicit delete calls
5mo ago
array-slice-call.q
Implemented static array slices
1mo ago
array-slice-nested.q
Implemented static array slices
1mo ago
array-slice.q
Implemented static array slices
1mo ago
array-static-global-grid.q
Implemented multidimensional arrays
1mo ago
array-static-global.q
Implemented multidimensional arrays
1mo ago
array-static-loop.q
Implemented len field for static arrays
1mo ago
array-static.q
Fixed incorrect base address for static arrays
1mo ago
array-string.q
Removed explicit delete calls
5mo ago
array-struct-copy-call.q
Removed explicit delete calls
5mo ago
array-struct-copy.q
Removed explicit delete calls
5mo ago
array-struct.q
Removed explicit delete calls
5mo ago
assert.q
Added more tests
1y ago
assign.q
Implemented assignment operators
1y ago
binary.q
Added more tests
1y ago
bitwise-and.q
Implemented bitwise operators
1y ago
bitwise-or.q
Implemented bitwise operators
1y ago
bitwise-xor.q
Implemented bitwise operators
1y ago
bool-2.q
Fixed conditional set encoding on x86-64
1mo ago
bool.q
Implemented io.write for boolean values
1mo ago
branch-and.q
Moved os.exit to run.exit
1y ago
branch-both.q
Simplified logical operator precedence
4mo ago
branch-or.q
Moved os.exit to run.exit
1y ago
branch.q
Moved os.exit to run.exit
1y ago
c-length.q
Fixed incorrect mem.copy output
5mo ago
c-string.q
Fixed incorrect mem.copy output
5mo ago
cas.q
Implemented mutexes
4mo ago
cast-deduplication.q
Fixed incorrect equality check for value copies
2mo ago
cast-reorder.q
Fixed incorrect flag value after operand reordering
2mo ago
cast.q
Fixed incorrect equality check for value copies
2mo ago
circle-field-pointer.q
Removed explicit delete calls
5mo ago
circle-pointer-field-pointer.q
Updated struct initialization syntax
5mo ago
circle-pointer.q
Removed explicit delete calls
5mo ago
circle.q
Updated struct initialization syntax
5mo ago
cli-args.q
Removed explicit delete calls
5mo ago
cli-env.q
Implemented access to environment variables
6mo ago
cli-terminal.q
Implemented cli.isTerminal
4mo ago
color-16.q
Implemented struct reconstruction from packed integers
1y ago
color-32.q
Implemented struct reconstruction from packed integers
1y ago
color-64.q
Implemented struct reconstruction from packed integers
1y ago
color-8.q
Implemented struct reconstruction from packed integers
1y ago
commutativity.q
Implemented common subexpression elimination for commutative operations
5mo ago
const-color.q
Implemented expression evaluation for constants
5mo ago
const-expr.q
Implemented expression evaluation for constants
5mo ago
const-string.q
Implemented expression evaluation for constants
5mo ago
const.q
Implemented expression evaluation for constants
5mo ago
cse-type.q
Fixed missing type equality check for binary operations
2mo ago
dead-value-call.q
Fixed register clobber caused by dead binary operations
2mo ago
dead-value-load.q
Removed unused loads during dead code removal
2mo ago
dead-value-orphan.q
Fixed orphaned values during dead code removal
2mo ago
dead-value.q
Removed unused loads during dead code removal
2mo ago
div.q
Added more tests for math operations
1y ago
empty.q
Added more tests
1y ago
enum.q
Reworked enum syntax
2mo ago
escape.q
Fixed incorrect escape sequence parsing
1y ago
examples_test.go
Added mandelbrot example
2mo ago
factorial.q
Added more tests
1y ago
fibonacci.q
Added copy instructions for identified values
1y ago
file-read.q
Added file read test
1y ago
fold-2.q
Fixed incorrect index during constant folding
2mo ago
fold.q
Improved constant folding
5mo ago
free-registers.q
Replaced byte type with uint8 for numeric values
5mo ago
function-pointer.q
Implemented function pointers
1y ago
global-math.q
Fixed global variable assignment operators
5mo ago
global.q
Fixed global variable assignment operators
5mo ago
hello.q
Added more tests
1y ago
hexadecimal.q
Added more tests
1y ago
ignore-error.q
Added error type
1y ago
ignore-unused-field.q
Added composite type tracking for input parameters
1y ago
index-dynamic.q
Implemented resource types for memory
1y ago
index-static.q
Implemented resource types for memory
1y ago
jump-near.q
Moved os.exit to run.exit
1y ago
limits.q
Refactored io library
1y ago
local.q
Fixed offset of thread-local variables
1mo ago
loop-combined.q
Fixed dead code removal for phis with phi arguments
2mo ago
loop-copy-from.q
Implemented a copy for cached values in loop counters
1y ago
loop-copy-until.q
Implemented a copy for cached values in loop counters
1y ago
loop-count-down.q
Fixed loop iterator deduplication bug
2mo ago
loop-count.q
Fixed loop iterator deduplication bug
2mo ago
loop-counter-head.q
Fixed incorrect identifiers for iterators in the loop head
6mo ago
loop-counter-tail.q
Fixed incorrect identifiers for iterators in the loop head
6mo ago
loop-infinite-lifetime.q
Fixed infinite loop during liveness analysis
1y ago
loop-keepalive-inside.q
Fixed liveness for values defined before a loop
1y ago
loop-keepalive-outside.q
Fixed liveness for values defined before a loop
1y ago
loop-limit.q
Fused the for and loop keywords to a single one
1y ago
loop-modify-iterator.q
Fixed incorrect iterator value when modified inside the loop
5mo ago
loop-modify-limit.q
Fixed incorrect iterator value when modified inside the loop
5mo ago
loop-modify-struct.q
Fixed struct modifications in loops
1y ago
loop-nested-modify.q
Fixed incorrect operand equality check
2mo ago
loop-nested-return.q
Fixed incorrect identifier value in nested loops
6mo ago
loop-nested-xy.q
Fixed incorrect identifier value in nested loops
6mo ago
loop-nested-xyz.q
Fixed incorrect identifier value in nested loops
6mo ago
loop-next-2.q
Fixed incorrect handling of repeated phi arguments
2mo ago
loop-next-3.q
Fixed incorrect handling of repeated phi arguments
2mo ago
loop-next-4.q
Fixed back edge phi values in loops
2mo ago
loop-next.q
Refactored io library
1y ago
loop-optimize-single-iterator.q
Fused the for and loop keywords to a single one
1y ago
loop-stop-2.q
Fixed incorrect identifier value for multiple loop exits
6mo ago
loop-stop-3.q
Fixed incorrect value in loop exit blocks
2mo ago
loop-stop.q
Fixed incorrect identifier value for multiple loop exits
6mo ago
loop-write.q
Fused the for and loop keywords to a single one
1y ago
math.q
Added more tests
1y ago
max.q
Disabled copy elimination
5mo ago
memory-growth.q
Fixed memory allocation size
1mo ago
memory.q
Enforced immutability of strings
1y ago
method-local-field.q
Fixed double evaluation in method calls
5mo ago
method-local-int.q
Fixed double evaluation in method calls
5mo ago
method-local-overload.q
Fixed double evaluation in method calls
5mo ago
method-local-parameters.q
Simplified method call test
3mo ago
method-local-string.q
Fixed double evaluation in method calls
5mo ago
method-local-struct-pointer.q
Removed explicit delete calls
5mo ago
method-local-struct.q
Fixed double evaluation in method calls
5mo ago
min.q
Disabled copy elimination
5mo ago
modulo.q
Added more tests for math operations
1y ago
mul.q
Added more tests for math operations
1y ago
multi-define-assign.q
Implemented assignments to multiple variables
1y ago
mutex.q
Implemented mutexes
4mo ago
negation.q
Added more tests for math operations
1y ago
not.q
Implemented conditional set instruction
5mo ago
octal.q
Added more tests for math operations
1y ago
out-of-memory.q
Implemented memory store instructions
1y ago
overflow.q
Fixed incorrect encoding for comparisons on arm64
1y ago
overload.q
Added more test cases for function overloads
1y ago
param-multi.q
Added more tests
1y ago
param-order.q
Added more tests
1y ago
param.q
Added more tests
1y ago
phi-advanced.q
Improved phi construction in branches
1y ago
phi-clobber.q
Fixed register allocation for phi values
2mo ago
phi-dead.q
Fixed dead code removal for phis
2mo ago
phi-move-cycle.q
Implemented new move scheduler
2mo ago
phi-move-reorder.q
Implemented new move scheduler
2mo ago
phi-reassign-copy.q
Fixed register clobber caused by implicit phi moves
2mo ago
phi-reassign-output.q
Simplified phi tests
1y ago
phi-reassign.q
Simplified phi tests
1y ago
phi-simple.q
Improved phi construction in branches
1y ago
phi.q
Improved phi construction in branches
1y ago
pointer-to-pointer.q
Fixed missing delete calls in tests
1y ago
random.q
Removed explicit delete calls
5mo ago
reassign.q
Implemented assignments for mutable variables
1y ago
reorder-add.q
Added more tests
1y ago
reorder-blocks.q
Implemented displaying the source of failed assertions
2mo ago
reorder-values.q
Implemented value reordering
5mo ago
resource.q
Implemented resource safety
1y ago
return-2.q
Improved support for multiple return values
1y ago
return-3.q
Improved support for multiple return values
1y ago
return-4.q
Improved support for multiple return values
1y ago
return-bool.q
Fixed missing register assignment when returning a comparison
5mo ago
return-string.q
Implemented decomposition of return values
1y ago
return-tuple.q
Implemented tuple decomposition in return statements
5mo ago
return.q
Added more tests
1y ago
reuse.q
Added more tests
1y ago
run_test.go
Simplified temporary directory creation for tests
2mo ago
rune.q
Added rune tests
1y ago
script.q
Added more tests
1y ago
shift-range.q
Fixed constant folding of out-of-range shift counts
2mo ago
shift-register.q
Improved return type checks
1y ago
shift-sign.q
Fixed incorrect shift instructions for unsigned values
1y ago
shift.q
Implemented shift operators
1y ago
signed-load-16.q
Removed explicit delete calls
5mo ago
signed-load-32.q
Removed explicit delete calls
5mo ago
signed-load-8.q
Removed explicit delete calls
5mo ago
signed-load-offset-16.q
Removed explicit delete calls
5mo ago
signed-load-offset-32.q
Removed explicit delete calls
5mo ago
signed-load-offset-8.q
Removed explicit delete calls
5mo ago
signed.q
Implemented signed integer load instructions
5mo ago
slice.q
Implemented string slices
1y ago
sort-0.q
Removed redundant final newlines
2mo ago
sort-1.q
Removed redundant final newlines
2mo ago
sort-2.q
Removed redundant final newlines
2mo ago
sort-3.q
Removed redundant final newlines
2mo ago
sort-4.q
Removed redundant final newlines
2mo ago
sort-8.q
Removed redundant final newlines
2mo ago
spill-call-binary.q
Implemented register spills to memory
4mo ago
spill-call.q
Implemented register spilling of integer arguments in function calls
5mo ago
spill-div-mod.q
Fixed register allocation for spilled division operands
2mo ago
spill-loop-modify.q
Fixed inconsistent style
1mo ago
spill-operands.q
Fixed temporary register selection
2mo ago
spill-shift.q
Fixed register allocation for spilled shift destinations
2mo ago
sqrt.q
Implemented square root for unsigned integers
5mo ago
square-sum.q
Added more tests
1y ago
stack-pointer.q
Renamed internal asm package
3mo ago
string-by-value.q
Enforced immutability of strings
1y ago
strings-concat-operator.q
Simplified string concatenation
5mo ago
strings-concat.q
Implemented string comparison
5mo ago
strings-cut.q
Implemented string comparison
5mo ago
strings-equal-operator.q
Implemented string comparison
5mo ago
strings-equal.q
Implemented logical not operator
1y ago
strings-index.q
Fixed incorrect strings.index implementation
5mo ago
strings-prefix.q
Implemented logical not operator
1y ago
strings-suffix.q
Implemented logical not operator
1y ago
strings-to-int.q
Reduced number of io syscalls
4mo ago
strings-trim.q
Implemented strings.trim
1y ago
struct-copy.q
Implemented struct copies
1y ago
struct-field-branch.q
Fixed incorrect struct value in branches
2mo ago
struct-modify-branch.q
Fixed struct modification in branches
1y ago
struct-param-ignored.q
Fixed incorrect offset for packed struct parameters
2mo ago
struct-param-negative-2.q
Fixed sign extension for packed struct parameters
2mo ago
struct-param-negative.q
Fixed sign extension for packed struct parameters
2mo ago
struct-param-nested.q
Fixed passing of nested struct fields
2mo ago
struct-pointer-deref.q
Removed explicit delete calls
5mo ago
struct-pointer-init.q
Renamed struct tests
6mo ago
struct-pointer.q
Removed explicit delete calls
5mo ago
struct-return-pointer.q
Removed explicit delete calls
5mo ago
struct-return.q
Renamed struct tests
6mo ago
struct.q
Renamed struct tests
6mo ago
sub.q
Added more tests for math operations
1y ago
sum.q
Added more tests
1y ago
switch-expression.q
Implemented switch expressions
4mo ago
switch.q
Updated existing code to use shorter forms
1y ago
tests_test.go
Fixed offset of thread-local variables
1mo ago
underflow.q
Fixed incorrect encoding for comparisons on arm64
1y ago
unsigned-comparison.q
Implemented unsigned comparison
4mo ago
unsigned.q
Fixed incorrect division result for unsigned integers
5mo ago
variables.q
Improved test for multiple live values
1y ago
zero-alloc.q
Improved handling of zero-size allocations
4mo ago