-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
https://docs.amber-lang.com/0.4.0-alpha/contribute/guide_book#2-2-translator
Actual
Expected
// This will translate `1 + 2` into `(( 1 + 2 ))` fn translate() -> String { // self.digit_1 and self.digit_2 is set earlier by the parser format!("(( {} + {} ))", self.digit_1, self.digit_2) }