From 184c39579227c0add80a61d489c242120001d6b6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 26 Sep 2024 15:53:57 +0200 Subject: Re-work the parser from scratch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The initial implementation was incredibly naive on how complex an assembler can actually be. Because of this, it never bothered to define and produce a proper AST, and hence it was overall extremely fragile on (not so) corner cases. This commit re-writes everything from scratch for the parser, and it should really be the last fundamental change to the parser other than minor additions/features here and there. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/xixanta/src/lib.rs') diff --git a/lib/xixanta/src/lib.rs b/lib/xixanta/src/lib.rs index fd3419c..5e81eba 100644 --- a/lib/xixanta/src/lib.rs +++ b/lib/xixanta/src/lib.rs @@ -9,3 +9,4 @@ mod errors; pub mod instruction; pub mod mapping; mod opcodes; +pub mod parser; -- cgit v1.2.3