From d8adbdffb372e0ddc6d5bc5ab8e5fd1efca8f980 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 29 Mar 2022 08:45:26 -0400 Subject: [PATCH] improve hints --- src/parsing.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/parsing.rs b/src/parsing.rs index 52e6f5f..25f6841 100644 --- a/src/parsing.rs +++ b/src/parsing.rs @@ -262,6 +262,8 @@ pub fn generate_hint(input: &str) -> String { "cbrt" => Some("("), "floo" => Some("r("), + "frac" => Some("t("), + _ => None, }; @@ -287,6 +289,10 @@ pub fn generate_hint(input: &str) -> String { "asi" => Some("n("), "aco" => Some("s("), "ata" => Some("n("), + "exp" => Some("("), + "fra" => Some("ct("), + "cbr" => Some("t("), + "cei" => Some("l("), _ => None, }; @@ -308,6 +314,9 @@ pub fn generate_hint(input: &str) -> String { "at" => Some("an("), "ln" => Some("("), "fl" => Some("oor("), + "sq" => Some("rt("), + "ex" => Some("p("), + "ce" => Some("il("), _ => None, };