Commit Graph

119 Commits

Author SHA1 Message Date
wash c68b1d2b26 runtime: update fx api usage 2026-06-15 17:41:08 +01:00
wash 0140f768cf frontend: re-organise frontend functionality; add feature and logging switches 2026-06-14 20:28:50 +01:00
wash 6f71b85522 cmake: find fx.cmdline assembly 2026-06-14 20:28:27 +01:00
wash 21c7092752 runtime: initialise global data when the first bshell_runtime is created 2026-06-14 20:28:07 +01:00
wash 3ace32a95b runtime: native-command: remove logging from record processing 2026-06-14 20:27:46 +01:00
wash de2a747e36 runtime: format: only add trailing newline to string if one isn't already present 2026-06-14 19:40:27 +01:00
wash b3440fe231 runtime: cmdcall: implement resolution of native commands 2026-06-14 19:39:49 +01:00
wash e8ddb0b75f cmake: find fx.io and fx.diagnostics 2026-06-13 13:50:14 +01:00
wash 97a83addc8 core: write-output now writes args and input values to the pipeline rather than stdout
the runtime will handle writing any output values to the terminal if necessary. instead,
write-output can now be used to write arbitrary values into the pipeline for later commands
to use.
2026-06-13 13:49:00 +01:00
wash 8c926acd9d core: update begin_processing() cmdlet signature 2026-06-13 13:48:19 +01:00
wash fba7987d78 runtime: implement a bshell_command sub-class for calling native commands 2026-06-13 13:47:34 +01:00
wash 2332d48b0c runtime: adjust formatting 2026-06-13 13:47:16 +01:00
wash 73519eb7aa runtime: move value formatting functionality to a dedicated api 2026-06-13 13:47:06 +01:00
wash 4c04ca6de8 runtime: command: add an arg to begin_processing() to indicate pipeline position 2026-06-13 13:45:41 +01:00
wash de5058e045 cmake: link to fx.diagnostics and fx.io 2026-06-13 13:36:20 +01:00
wash 8843f2d2a9 frontend: print an error message when the specified script file cannot be opened 2026-05-31 17:34:28 +01:00
wash 187296ca62 runtime: status: add descriptive messages for status codes 2026-05-31 17:34:12 +01:00
wash b9a3caf033 runtime: lex: formatting cleanup 2026-05-31 17:33:43 +01:00
wash 8e2eec973a core: add a compiler option for disabling floating-point usage 2026-05-31 17:33:20 +01:00
wash 6548c3283b cmake: build-id: specify current working directory 2026-05-31 17:33:02 +01:00
wash 4a087d1000 cmake: update FindFX module 2026-05-31 17:32:44 +01:00
wash da2777717c frontend: add a compiler option for disabling floating-point usage 2026-05-31 17:32:26 +01:00
wash 290caf7aef frontend: disable all fx.term includes when interactive mode is disabled 2026-05-31 17:32:06 +01:00
wash 73ff8ba6aa bshell.runtime: disable all fx.term includes when interactive mode is disabled 2026-05-31 17:31:37 +01:00
wash ee6fdfbc48 bshell.runtime: add a compiler option for disabling floating-point usage 2026-05-31 17:30:53 +01:00
wash 1a311b3796 doc: sample: make the simple sample script actually simple 2026-05-30 21:10:04 +01:00
wash 338c0356ca multi: completely remove fx.term dependency when interactive support is disabled 2026-05-30 21:09:43 +01:00
wash ca33228e0e runtime: scriptblock: fix use of uninitialised memory 2026-05-30 20:18:41 +01:00
wash 09f64aaaba runtime: scope: fix scope_set_block not handling NULL argument properly 2026-05-30 20:18:24 +01:00
wash 74695e8593 cmake: remove debug messages 2026-05-30 20:17:52 +01:00
wash afab5343c4 doc: sample: add simple function example script 2026-05-30 19:54:06 +01:00
wash 0697d889c5 frontend: implement function compilation 2026-05-30 19:53:49 +01:00
wash 28abb4d2d3 frontend: implement debug printing for functions 2026-05-30 19:53:39 +01:00
wash 531191ab52 core: update pipeline api usage 2026-05-30 19:53:15 +01:00
wash 1710f705e9 command: implement callable bytecode functions 2026-05-30 19:52:50 +01:00
wash 96bf76aabc runtime: fix memory leaks 2026-05-30 19:52:36 +01:00
wash 26b368a512 compile: fix memory leaks 2026-05-30 19:52:24 +01:00
wash a30e76e525 scriptblock: fix memory leaks 2026-05-30 19:51:52 +01:00
wash 3b39f794f9 verb: fix memory leaks 2026-05-30 19:51:29 +01:00
wash 5d6f2a5ce8 parse: lex: fix memory leaks 2026-05-30 19:50:38 +01:00
wash fec3be2140 ast: implement cleanup callbacks 2026-05-30 19:50:13 +01:00
wash f2e1d89313 runtime: update iterator usage 2026-05-25 19:14:52 +01:00
wash 6bfe3f0a6e core: update iterator usage 2026-05-25 19:14:45 +01:00
wash edfb3e24a3 bshell: re-organise build into three separate components
bshell: the front-end binary
bshell.runtime: contains the parser, compiler, and classes needed to run bshell scripts
bshell.core: contains the builtin commandlets and aliases
2026-05-25 10:33:29 +01:00
wash 58c76a1f57 meta: update clang-format config 2026-05-25 10:33:10 +01:00
wash d333497a03 meta: add clang-format config 2026-05-24 20:26:49 +01:00
wash 28f8c8f71c doc: sample: add/update sample source files 2026-05-24 20:26:40 +01:00
wash bb09e8b8d1 vim: add operator symbols and keywords 2026-05-24 20:26:29 +01:00
wash 446ee99306 build: add new sub-directories 2026-05-24 20:25:51 +01:00
wash 070a2be969 bshell: initialise verbs and table formatter on start 2026-05-24 20:25:36 +01:00