Commit Graph

46 Commits

Author SHA1 Message Date
a3d553019d frontend: disassemble: implement dumping int/uint constpool values 2025-05-16 16:57:14 +01:00
2b28371cb6 frontend: disassemble: implement dumping the contents of classes 2025-05-15 12:11:11 +01:00
49d21de894 frontend: disassemble: implement dumping ident, atom, and null constpool values 2025-05-15 12:10:58 +01:00
9229e90723 frontend: disassemble: adjust section dump output format 2025-05-14 16:29:31 +01:00
8998ef0232 frontend: assemble: assembler requires output file to be open read/write 2025-05-14 16:29:09 +01:00
6399022cb3 frontend: disassemble: add a range of switches to control what information is provided 2025-05-13 13:24:43 +01:00
c254495d3a frontend: implement disassemble command 2025-05-12 15:53:54 +01:00
05df01ff1b frontend: compile: remove filepath printf output 2025-05-09 13:41:12 +01:00
31deaea266 frontend: update parser api usage with diagnostic support 2025-05-08 22:33:18 +01:00
ce8a12d4f7 frontend: update api usage with diagnostic support 2025-05-08 20:32:22 +01:00
ff136adbe7 frontend: compile: print ast nodes as they are passed to the code generator
when both -a and -i switches are specified, ast nodes will be printed as they
are passed to the code generator, rather than all at once /before/ code
generation.

this makes it easier to determine which ast node is causing a code generation
error.
2025-04-28 15:47:32 +01:00
7ba88b65f8 frontend: update mie api usage to use new context parameter 2025-04-28 15:47:24 +01:00
1942070c4e frontend: repl: disable post-order ast printing 2025-04-22 15:31:51 +01:00
78817b6b8c update: use updated parser api to fix memory leaks 2025-04-17 23:16:16 +01:00
635d23d2e1 frontend: update codegen usage to only use pre-order ast traversal 2025-04-16 21:59:32 +01:00
abebdb595a frontend: add IR generation to compile command 2025-04-15 11:00:48 +01:00
4587416ac9 frontend: repl: generate ir from input 2025-04-14 20:15:41 +01:00
bcc0daa2d5 frontend: update ast iterator api usage 2025-04-14 12:25:49 +01:00
c682cbb15a frontend: update ast traversal api usage 2025-04-14 09:46:36 +01:00
d50417c4b7 frontend: add command to disassemble object files 2025-01-15 17:40:01 +00:00
724f40f19f frontend: add stub disassemble command 2024-12-13 18:08:53 +00:00
3bb94aa36e frontend: assemble: convert input file to output assembly 2024-12-13 12:26:32 +00:00
24d443b818 frontend: assemble: add assembler test 2024-12-10 22:27:34 +00:00
b87d152f07 meta: add metadata to win32 exe/dll files 2024-12-07 19:32:35 +00:00
bd377b00f4 frontend: repl: add show-lex and show-ast command options 2024-12-06 20:24:50 +00:00
363b13534d frontend: compile: replace verbose option with dedicated logging options 2024-12-06 13:21:55 +00:00
8ef057360e frontend: compile: add verbose command option 2024-12-05 21:06:03 +00:00
bb34e46c69 frontend: implement an ast node printer 2024-12-01 13:19:48 +00:00
9df8474515 frontend: always print lex tokens when compiling file or repl input 2024-11-27 22:30:42 +00:00
886c0b49a4 frontend: compile: parse source files 2024-11-26 13:10:36 +00:00
25e65f2107 frontend: repl: combine repl_full and repl_lex_only 2024-11-26 13:09:57 +00:00
8eb7eff274 frontend: repl: print ast once all tokens in the lex buffer have been consumed 2024-11-25 16:51:29 +00:00
6fa1524766 frontend: repl: print the ast after each line of input 2024-11-24 20:50:32 +00:00
5622073252 frontend: repl: print and destroy ast nodes after parsing 2024-11-24 16:12:49 +00:00
e71f6a0904 frontend: repl: pass user input through the parser 2024-11-23 19:28:26 +00:00
17ee2b6b57 frontend: switch to new bluelib tty interface 2024-11-20 22:14:35 +00:00
8df4592a6b frontend: assemble: lex assembly file contents 2024-11-19 22:09:54 +00:00
ea3c01204b frontend: repl: remove line continuations from input produced by line-ed 2024-11-19 15:59:05 +00:00
7eab36aa5f frontend: add command for internal debugging functionality 2024-11-19 15:22:58 +00:00
29447bf5ec frontend: split interactive and non-interactive modes into separate commands 2024-11-18 09:55:02 +00:00
d5c86c4eea frontend: move token printing code to a separate file 2024-11-18 09:54:27 +00:00
c9661af81e frontend: compile: print number and atom token info 2024-11-17 09:32:26 +00:00
f55b8f4851 frontend: compile: use new opaque lexer interface 2024-11-16 23:05:07 +00:00
412e9abf05 frontend: compile: add colour-coding to token list 2024-11-16 23:03:16 +00:00
6e5db6a3e2 frontend: compile: print lex token details as they are read 2024-11-16 17:06:02 +00:00
06bf9a3030 meta: rename frontend source directory 2024-11-13 21:38:55 +00:00