Parseur d'expression et affichage du résultat avec l'ASTPrinter.
This commit is contained in:
@@ -7,6 +7,8 @@ mod scanner;
|
||||
mod token;
|
||||
mod token_type;
|
||||
mod expr;
|
||||
mod astprinter;
|
||||
mod parser;
|
||||
|
||||
use crate::rlox_interpreter::RLoxInterpreter;
|
||||
|
||||
@@ -34,4 +36,4 @@ fn main() {
|
||||
// https://github.com/munificent/craftinginterpreters/wiki/Lox-implementations#rust
|
||||
|
||||
// Pause :
|
||||
// http://www.craftinginterpreters.com/representing-code.html#working-with-trees
|
||||
// http://www.craftinginterpreters.com/parsing-expressions.html implémentation de comparison
|
||||
|
||||
Reference in New Issue
Block a user