small update

This commit is contained in:
IgorCielniak
2026-01-31 22:18:41 +01:00
parent ff6af0b783
commit dfc88c20eb
26 changed files with 25 additions and 33 deletions

View File

@@ -2690,12 +2690,6 @@ def _ct_list_append(vm: CompileTimeVM) -> None:
vm.push(lst) vm.push(lst)
def _ct_drop(vm: CompileTimeVM) -> None:
if not vm.stack:
return
vm.pop()
def _ct_list_pop(vm: CompileTimeVM) -> None: def _ct_list_pop(vm: CompileTimeVM) -> None:
lst = _ensure_list(vm.pop()) lst = _ensure_list(vm.pop())
if not lst: if not lst:
@@ -3038,8 +3032,6 @@ def _ct_parse_error(vm: CompileTimeVM) -> None:
raise ParseError(message) raise ParseError(message)
def _ct_lexer_new(vm: CompileTimeVM) -> None: def _ct_lexer_new(vm: CompileTimeVM) -> None:
separators = vm.pop_str() separators = vm.pop_str()
vm.push(SplitLexer(vm.parser, separators)) vm.push(SplitLexer(vm.parser, separators))

View File

@@ -1 +1 @@
python main.py tests/alloc.sl -o /tmp/alloc > /dev/null && /tmp/alloc python main.py tests/alloc.sl -o ./build/alloc > /dev/null && ./build/alloc

View File

@@ -1 +1 @@
python main.py tests/arr_dynamic.sl -o /tmp/arr_dynamic > /dev/null && /tmp/arr_dynamic python main.py tests/arr_dynamic.sl -o ./build/arr_dynamic > /dev/null && ./build/arr_dynamic

View File

@@ -1 +1 @@
python main.py tests/bss_override.sl -o /tmp/bss_override > /dev/null && /tmp/bss_override python main.py tests/bss_override.sl -o ./build/bss_override > /dev/null && ./build/bss_override

View File

@@ -1 +1 @@
python main.py tests/else_if_shorthand.sl -o /tmp/else_if_shorthand > /dev/null && /tmp/else_if_shorthand python main.py tests/else_if_shorthand.sl -o ./build/else_if_shorthand > /dev/null && ./build/else_if_shorthand

View File

@@ -1 +1 @@
python main.py tests/eputs.sl -o /tmp/eputs > /dev/null && /tmp/eputs 2>&1 python main.py tests/eputs.sl -o ./build/eputs > /dev/null && ./build/eputs 2>&1

View File

@@ -1 +1 @@
python main.py tests/fib.sl -o /tmp/fib > /dev/null && /tmp/fib python main.py tests/fib.sl -o ./build/fib > /dev/null && ./build/fib

View File

@@ -1 +1 @@
python main.py tests/goto.sl -o /tmp/goto > /dev/null && /tmp/goto python main.py tests/goto.sl -o ./build/goto > /dev/null && ./build/goto

View File

@@ -1 +1 @@
python main.py tests/hello.sl -o /tmp/hello > /dev/null && /tmp/hello python main.py tests/hello.sl -o ./build/hello > /dev/null && ./build/hello

View File

@@ -1 +1 @@
python main.py tests/here.sl -o /tmp/here > /dev/null && /tmp/here python main.py tests/here.sl -o ./build/here > /dev/null && ./build/here

View File

@@ -1 +1 @@
python main.py tests/inline.sl -o /tmp/inline > /dev/null && /tmp/inline python main.py tests/inline.sl -o ./build/inline > /dev/null && ./build/inline

View File

@@ -1 +1 @@
python main.py tests/integration_core.sl -o /tmp/integration_core > /dev/null && /tmp/integration_core python main.py tests/integration_core.sl -o ./build/integration_core > /dev/null && ./build/integration_core

View File

@@ -1 +1 @@
python main.py tests/io_read_file.sl -o /tmp/io_read_file > /dev/null && /tmp/io_read_file python main.py tests/io_read_file.sl -o ./build/io_read_file > /dev/null && ./build/io_read_file

View File

@@ -1 +1 @@
python main.py tests/io_read_stdin.sl -o /tmp/io_read_stdin > /dev/null && printf 'stdin via test\n' | /tmp/io_read_stdin python main.py tests/io_read_stdin.sl -o ./build/io_read_stdin > /dev/null && printf 'stdin via test\n' | ./build/io_read_stdin

View File

@@ -1 +1 @@
python main.py tests/io_write_buf.sl -o /tmp/io_write_buf > /dev/null && /tmp/io_write_buf python main.py tests/io_write_buf.sl -o ./build/io_write_buf > /dev/null && ./build/io_write_buf

View File

@@ -1 +1 @@
python main.py tests/io_write_file.sl -o /tmp/io_write_file > /dev/null && /tmp/io_write_file python main.py tests/io_write_file.sl -o ./build/io_write_file > /dev/null && ./build/io_write_file

View File

@@ -1 +1 @@
python main.py tests/list.sl -o /tmp/list > /dev/null && /tmp/list python main.py tests/list.sl -o ./build/list > /dev/null && ./build/list

View File

@@ -1 +1 @@
python main.py tests/loop_while.sl -o /tmp/loop_while > /dev/null && /tmp/loop_while python main.py tests/loop_while.sl -o ./build/loop_while > /dev/null && ./build/loop_while

View File

@@ -1 +1 @@
python main.py tests/loops_and_cmp.sl -o /tmp/loops_and_cmp > /dev/null && /tmp/loops_and_cmp python main.py tests/loops_and_cmp.sl -o ./build/loops_and_cmp > /dev/null && ./build/loops_and_cmp

View File

@@ -1 +1 @@
python main.py tests/mem.sl -o /tmp/mem > /dev/null && /tmp/mem python main.py tests/mem.sl -o ./build/mem > /dev/null && ./build/mem

View File

@@ -1 +1 @@
python main.py tests/override_dup_compile_time.sl -o /tmp/override_dup_compile_time > /dev/null && /tmp/override_dup_compile_time python main.py tests/override_dup_compile_time.sl -o ./build/override_dup_compile_time > /dev/null && ./build/override_dup_compile_time

View File

@@ -1 +1 @@
python main.py tests/str.sl -o /tmp/str > /dev/null && /tmp/str python main.py tests/str.sl -o ./build/str > /dev/null && ./build/str

View File

@@ -1 +1 @@
python main.py tests/string_puts.sl -o /tmp/string_puts > /dev/null && /tmp/string_puts python main.py tests/string_puts.sl -o ./build/string_puts > /dev/null && ./build/string_puts

View File

@@ -1 +1 @@
python main.py tests/syscall_write.sl -o /tmp/syscall_write > /dev/null && /tmp/syscall_write python main.py tests/syscall_write.sl -o ./build/syscall_write > /dev/null && ./build/syscall_write

View File

@@ -1 +1 @@
python main.py tests/typeconversion.sl -o /tmp/typeconversion > /dev/null && /tmp/typeconversion python main.py tests/typeconversion.sl -o ./build/typeconversion > /dev/null && ./build/typeconversion

View File

@@ -1 +1 @@
python main.py tests/with_variables.sl -o /tmp/with_variables > /dev/null && /tmp/with_variables python main.py tests/with_variables.sl -o ./build/with_variables > /dev/null && ./build/with_variables