frontend: add IR generation to compile command

This commit is contained in:
2025-04-15 11:00:48 +01:00
parent 8d462799dd
commit abebdb595a
3 changed files with 67 additions and 3 deletions

View File

@@ -150,6 +150,7 @@ static enum ivy_status repl_create(struct repl **out)
int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
{
#if 0
b_printf(
"[bold,bright_red]error[[E0384][reset,bold,white]: cannot "
"assign twice to immutable variable `i`[reset]\n");
@@ -169,6 +170,7 @@ int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
b_printf(
"[bold,bright_blue] |[bold,bright_red] ^^^^^^ cannot "
"assign twice to immutable variable[reset]\n");
#endif
struct repl *repl = NULL;
enum ivy_status status = repl_create(&repl);