Pregunta de entrevista de nLIGHT

Design an arithmetic parser without using the shunting-yard algorithm.

Respuesta de la entrevista

Anónimo

3 de abr de 2021

Designed a tokenizer and lexical parser in python. Designed an arithmetic expression generator for test stimulation. Defined a BNF grammar for recursive descent of arithmetic expressions based on precedence in python.