Mise en place du visiteur et ébauche de pretty printer.

This commit is contained in:
2024-04-30 08:29:16 +02:00
parent 0103749edd
commit 257f31276f
2 changed files with 56 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
use std::env;
//use std::io::Write;
use std::process;
use crate::expr::Expr;
mod rlox_interpreter;
mod scanner;
@@ -31,6 +31,7 @@ fn main() {
}
// Implémentations de référence :
// https://github.com/munificent/craftinginterpreters/wiki/Lox-implementations#rust