19 Commits

Author SHA1 Message Date
nullndvoid fb84a6d3c3 assembler: clippy lints, better error formatting
Adds regex dependency and enhances error handling system

Introduces comprehensive error type hierarchy with specific variants for parser, symbol, codegen, threading, and IO errors to improve error reporting and debugging capabilities.

Adds regex crate for pattern matching in tokenizer implementation with pre-compiled patterns for labels, registers, immediates, directives, instructions, and symbols.

Enhances source info functionality with context printing and error underlining similar to compiler diagnostics.

Implements better error conversions and threading error handling for lock failures and panics.
2025-06-25 16:50:17 +01:00
nullndvoid 11ba09ab43 assembler: broke everything, currently modularising 2025-06-24 23:19:20 +01:00
zxq5 987c2b4b9a updated dependencies 2025-06-24 22:09:55 +01:00
nullndvoid 00a28e7711 elf: will start using clap to parse assembler arguments for CLI
I am tired af for some reason
2025-06-23 21:30:48 +01:00
nullndvoid b97dcd5692 emulator: start supporting Android, this is WIP
Needs storage permissions, probably extra tweaks
2025-06-22 02:13:06 +01:00
nullndvoid 1907bbb200 misc: clippy fixes 2025-06-22 00:30:27 +01:00
zxq5 528ceddade refactor & fixed assembler path handling 2025-06-21 04:05:22 +01:00
zxq5 e281bc2d1d IT WORKS HELL YEAH. 2025-06-18 22:53:01 +01:00
nullndvoid 687dea99ca emulator: get RPC working w/ Cargo features 2025-06-17 23:48:28 +01:00
nullndvoid 0b16246dd2 misc: applied some clippy lints 2025-06-17 19:43:35 +01:00
nullndvoid 868cba376f misc: fix merge conflict 2025-06-17 19:22:01 +01:00
nullndvoid a6be668328 emulator: just saving my changes 2025-06-17 19:19:49 +01:00
zxq5 75246f5e73 editor go brr? 2025-06-16 23:38:36 +01:00
nullndvoid 5ed0f9c1ca misc: formatting and clippy lint fixes 2025-06-16 01:19:57 +01:00
zxq5 2b5ad0885b added assembler skeleton code 2025-06-15 21:53:57 +01:00
zxq5 2b8281157e refactor 2 electric boogaloo 2025-06-15 21:40:43 +01:00
zxq5 277f210b3e editor works 2025-06-15 21:21:02 +01:00
zxq5 4e9cc2849e working emulator UI - just need to implement the instruction set 2025-06-15 00:39:08 +01:00
zxq5 68c8da4271 written up instruction set 2025-06-14 03:09:30 +01:00