alpha
Login
Join now
urbach.dev
/
q
Star
Starred
Star
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
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
q
/
tests
219 files
at
main
Eduard Urbach
路
Fixed conditional set encoding on x86-64
路
1h ago
e5e14bf1
add.q
Added more tests for math operations
11mo ago
array-assign.q
Fixed array element compound assignment
1w ago
array-int-custom.q
Implemented reads from arrays of structs
1y ago
array-int-fixed-offset.q
Removed explicit delete calls
3mo ago
array-int-parameter.q
Removed explicit delete calls
3mo ago
array-int.q
Removed explicit delete calls
3mo ago
array-slice-call.q
Implemented static array slices
1d ago
array-slice-nested.q
Implemented static array slices
1d ago
array-slice.q
Implemented static array slices
1d ago
array-static-global-grid.q
Implemented multidimensional arrays
4d ago
array-static-global.q
Implemented multidimensional arrays
4d ago
array-static-loop.q
Implemented len field for static arrays
3d ago
array-static.q
Fixed incorrect base address for static arrays
4d ago
array-string.q
Removed explicit delete calls
3mo ago
array-struct-copy-call.q
Removed explicit delete calls
3mo ago
array-struct-copy.q
Removed explicit delete calls
3mo ago
array-struct.q
Removed explicit delete calls
3mo 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
1h ago
bool.q
Implemented io.write for boolean values
2d ago
branch-and.q
Moved os.exit to run.exit
1y ago
branch-both.q
Simplified logical operator precedence
2mo 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
4mo ago
c-string.q
Fixed incorrect mem.copy output
4mo ago
cas.q
Implemented mutexes
3mo ago
cast-deduplication.q
Fixed incorrect equality check for value copies
4w ago
cast-reorder.q
Fixed incorrect flag value after operand reordering
1w ago
cast.q
Fixed incorrect equality check for value copies
4w ago
circle-field-pointer.q
Removed explicit delete calls
3mo ago
circle-pointer-field-pointer.q
Updated struct initialization syntax
3mo ago
circle-pointer.q
Removed explicit delete calls
3mo ago
circle.q
Updated struct initialization syntax
3mo ago
cli-args.q
Removed explicit delete calls
3mo ago
cli-env.q
Implemented access to environment variables
4mo ago
cli-terminal.q
Implemented cli.isTerminal
2mo 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
3mo ago
const-color.q
Implemented expression evaluation for constants
3mo ago
const-expr.q
Implemented expression evaluation for constants
3mo ago
const-string.q
Implemented expression evaluation for constants
3mo ago
const.q
Implemented expression evaluation for constants
3mo ago
cse-type.q
Fixed missing type equality check for binary operations
1w ago
dead-value-call.q
Fixed register clobber caused by dead binary operations
1mo ago
dead-value-load.q
Removed unused loads during dead code removal
1mo ago
dead-value-orphan.q
Fixed orphaned values during dead code removal
1mo ago
dead-value.q
Removed unused loads during dead code removal
1mo ago
div.q
Added more tests for math operations
11mo ago
empty.q
Added more tests
1y ago
enum.q
Reworked enum syntax
1w ago
escape.q
Fixed incorrect escape sequence parsing
1y ago
examples_test.go
Added mandelbrot example
3w 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
11mo ago
fold-2.q
Fixed incorrect index during constant folding
1mo ago
fold.q
Improved constant folding
3mo ago
free-registers.q
Replaced byte type with uint8 for numeric values
3mo ago
function-pointer.q
Implemented function pointers
1y ago
global-math.q
Fixed global variable assignment operators
3mo ago
global.q
Fixed global variable assignment operators
3mo 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
11mo ago
loop-combined.q
Fixed dead code removal for phis with phi arguments
1mo 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
1mo ago
loop-count.q
Fixed loop iterator deduplication bug
1mo ago
loop-counter-head.q
Fixed incorrect identifiers for iterators in the loop head
4mo ago
loop-counter-tail.q
Fixed incorrect identifiers for iterators in the loop head
4mo 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
3mo ago
loop-modify-limit.q
Fixed incorrect iterator value when modified inside the loop
3mo ago
loop-modify-struct.q
Fixed struct modifications in loops
1y ago
loop-nested-modify.q
Fixed incorrect operand equality check
2w ago
loop-nested-return.q
Fixed incorrect identifier value in nested loops
4mo ago
loop-nested-xy.q
Fixed incorrect identifier value in nested loops
4mo ago
loop-nested-xyz.q
Fixed incorrect identifier value in nested loops
4mo ago
loop-next-2.q
Fixed incorrect handling of repeated phi arguments
1mo ago
loop-next-3.q
Fixed incorrect handling of repeated phi arguments
1mo ago
loop-next-4.q
Fixed back edge phi values in loops
1mo ago
loop-next.q
Refactored io library
11mo 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
4mo ago
loop-stop-3.q
Fixed incorrect value in loop exit blocks
1mo ago
loop-stop.q
Fixed incorrect identifier value for multiple loop exits
4mo 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
4mo ago
memory-growth.q
Fixed memory allocation size
3d ago
memory.q
Enforced immutability of strings
1y ago
method-local-field.q
Fixed double evaluation in method calls
3mo ago
method-local-int.q
Fixed double evaluation in method calls
3mo ago
method-local-overload.q
Fixed double evaluation in method calls
3mo ago
method-local-parameters.q
Simplified method call test
1mo ago
method-local-string.q
Fixed double evaluation in method calls
3mo ago
method-local-struct-pointer.q
Removed explicit delete calls
3mo ago
method-local-struct.q
Fixed double evaluation in method calls
3mo ago
min.q
Disabled copy elimination
4mo ago
modulo.q
Added more tests for math operations
11mo ago
mul.q
Added more tests for math operations
11mo ago
multi-define-assign.q
Implemented assignments to multiple variables
1y ago
mutex.q
Implemented mutexes
3mo ago
negation.q
Added more tests for math operations
11mo ago
not.q
Implemented conditional set instruction
4mo ago
octal.q
Added more tests for math operations
11mo 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
1w ago
phi-dead.q
Fixed dead code removal for phis
3w ago
phi-move-cycle.q
Implemented new move scheduler
1mo ago
phi-move-reorder.q
Implemented new move scheduler
1mo ago
phi-reassign-copy.q
Fixed register clobber caused by implicit phi moves
3w 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
3mo 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
3w ago
reorder-values.q
Implemented value reordering
3mo 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
3mo ago
return-string.q
Implemented decomposition of return values
1y ago
return-tuple.q
Implemented tuple decomposition in return statements
3mo ago
return.q
Added more tests
1y ago
reuse.q
Added more tests
1y ago
run_test.go
Simplified temporary directory creation for tests
1w 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
3w ago
shift-register.q
Improved return type checks
1y ago
shift-sign.q
Fixed incorrect shift instructions for unsigned values
11mo ago
shift.q
Implemented shift operators
1y ago
signed-load-16.q
Removed explicit delete calls
3mo ago
signed-load-32.q
Removed explicit delete calls
3mo ago
signed-load-8.q
Removed explicit delete calls
3mo ago
signed-load-offset-16.q
Removed explicit delete calls
3mo ago
signed-load-offset-32.q
Removed explicit delete calls
3mo ago
signed-load-offset-8.q
Removed explicit delete calls
3mo ago
signed.q
Implemented signed integer load instructions
3mo ago
slice.q
Implemented string slices
1y ago
sort-0.q
Removed redundant final newlines
4w ago
sort-1.q
Removed redundant final newlines
4w ago
sort-2.q
Removed redundant final newlines
4w ago
sort-3.q
Removed redundant final newlines
4w ago
sort-4.q
Removed redundant final newlines
4w ago
sort-8.q
Removed redundant final newlines
4w ago
spill-call-binary.q
Implemented register spills to memory
2mo ago
spill-call.q
Implemented register spilling of integer arguments in function calls
3mo ago
spill-div-mod.q
Fixed register allocation for spilled division operands
3w ago
spill-loop-modify.q
Fixed inconsistent style
2d ago
spill-operands.q
Fixed temporary register selection
1mo ago
spill-shift.q
Fixed register allocation for spilled shift destinations
3w ago
sqrt.q
Implemented square root for unsigned integers
3mo ago
square-sum.q
Added more tests
1y ago
stack-pointer.q
Renamed internal asm package
1mo ago
string-by-value.q
Enforced immutability of strings
1y ago
strings-concat-operator.q
Simplified string concatenation
3mo ago
strings-concat.q
Implemented string comparison
3mo ago
strings-cut.q
Implemented string comparison
3mo ago
strings-equal-operator.q
Implemented string comparison
3mo ago
strings-equal.q
Implemented logical not operator
1y ago
strings-index.q
Fixed incorrect strings.index implementation
3mo 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
2mo 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
1mo ago
struct-modify-branch.q
Fixed struct modification in branches
1y ago
struct-param-ignored.q
Fixed incorrect offset for packed struct parameters
4w ago
struct-param-negative-2.q
Fixed sign extension for packed struct parameters
4w ago
struct-param-negative.q
Fixed sign extension for packed struct parameters
4w ago
struct-param-nested.q
Fixed passing of nested struct fields
1w ago
struct-pointer-deref.q
Removed explicit delete calls
3mo ago
struct-pointer-init.q
Renamed struct tests
4mo ago
struct-pointer.q
Removed explicit delete calls
3mo ago
struct-return-pointer.q
Removed explicit delete calls
3mo ago
struct-return.q
Renamed struct tests
4mo ago
struct.q
Renamed struct tests
4mo ago
sub.q
Added more tests for math operations
11mo ago
sum.q
Added more tests
1y ago
switch-expression.q
Implemented switch expressions
2mo ago
switch.q
Updated existing code to use shorter forms
1y ago
tests_test.go
Fixed conditional set encoding on x86-64
1h ago
underflow.q
Fixed incorrect encoding for comparisons on arm64
1y ago
unsigned-comparison.q
Implemented unsigned comparison
2mo ago
unsigned.q
Fixed incorrect division result for unsigned integers
3mo ago
variables.q
Improved test for multiple live values
1y ago
zero-alloc.q
Improved handling of zero-size allocations
2mo ago