Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/core.tal b/src/core.tal
index ceba94e..e2c8d9b 100644
--- a/src/core.tal
+++ b/src/core.tal
@@ -206,6 +206,10 @@
&rawstr ( t* -- )
/req-name !rom/<write-str>
+ &immedi ( t* -- )
+ { "Immediate 20 "rune 20 "detected. 0a00 } STH2r err/<print>
@Ismael-VC
Ismael-VC / textual-syttax.log
Created November 11, 2025 17:37
tree-sitter issue
➜ tst python -m venv .venv ➜ tst source .venv/bin/activate ((.venv) ) ➜ tst pip install "textual[syntax]"
Collecting textual[syntax] Using cached textual-6.6.0-py3-none-any.whl.metadata (9.1 kB)
Collecting markdown-it-py>=2.1.0 (from markdown-it-py[linkify]>=2.1.0->textual[syntax]) Using cached markdown_it_py-4.0.0-py3-none-any.whl.metadata (7.3 kB)
Collecting mdit-py-plugins (from textual[syntax])
Using cached mdit_py_plugins-0.5.0-py3-none-any.whl.metadata (2.8 kB)
@Ismael-VC
Ismael-VC / reflect.py
Created November 3, 2025 09:22
Ppthon Textual Reflector
#!/usr/bin/env python
import sys
from code import InteractiveConsole
from io import StringIO
from random import choice
from rich.syntax import Syntax
from textual.app import App, ComposeResult
from textual.containers import Container, Horizontal
@Ismael-VC
Ismael-VC / term.py
Created November 3, 2025 06:25
Reflector
#!/usr/bin/env python
import sys
from code import InteractiveConsole
from io import StringIO
from rich.syntax import Syntax
from textual.app import App, ComposeResult, RenderResult
from textual.containers import Container, Horizontal
from textual.widget import Widget
@Ismael-VC
Ismael-VC / unutal.yaml
Created July 17, 2025 00:13
Unutal Micro Syntax Highlighitng
# thanks to makeworld for new instructions and multiline comment support
filetype: uxntal
detect:
filename: "\\.(tal|utl|uxn|unu|unutal|uxntal)$"
rules:
# Uxntal
- identifier: "[@,;.&][^\ \n\r]+"
➜ ~ vncserver -localhost
Could not start Xvnc.
Xvnc TigerVNC 1.15.0 - built Mar 4 2025 13:49:08
Copyright (C) 1999-2025 TigerVNC team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101016
Built without GBM support
@Ismael-VC
Ismael-VC / vmpk-dvorak.xml
Created February 7, 2025 18:54
VMPK Dvorak layout 2025
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboardmap>
<keyboardmap version="1.0">
<mapping key="&lt;" note="17"/>
<mapping key="A" note="18"/>
<mapping key=";" note="19"/>
<mapping key="O" note="20"/>
<mapping key="Q" note="21"/>
<mapping key="E" note="22"/>
<mapping key="J" note="23"/>
ASTRA-256 Assembler > General Discussions > Topic Details
sovereign has ASTRA-256 Assembler 8 Feb, 2021 @ 12:09pm
Key table
Hi, folks.
ASTRA-256 is a cool piece of software. I'd like to see a reference table added to the manual that contains the individual keyboard key values for each color (off, green, red, yellow).
Below is a list I compiled (hex)
@Ismael-VC
Ismael-VC / vtermtest.cpp
Created October 10, 2024 04:21 — forked from shimarin/vtermtest.cpp
SDL2 terminal emulator using libvterm
// g++ -o vtermtest vtermtest.cpp -lvterm -lutil -lSDL2 -lSDL2_ttf -licuuc
#include <termios.h>
#include <pty.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <iostream>
#include <vector>
#include <vterm.h>
#include <SDL2/SDL.h>
@Ismael-VC
Ismael-VC / unrolled_uxn.c
Created September 27, 2024 02:22
Unrolled UXN core (`cpp -E src/uxn.c`).
# 0 "../tal/uxn11/src/uxn.c"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h"
1 3 4
# 0 "<command-line>"
2
# 1 "../tal/uxn11/src/uxn.c"
# 1 "../tal/uxn11/src/uxn.h"
1