How do I pick apart the characters of an input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I pick apart the characters of an input?

Please describe how it works!

15th May 2017, 1:20 AM
privrax.
privrax. - avatar
1 Answer
0
a full description will be too much to type in here. start looking up lexing, maximal munch, tokenization. you will be headed in the right direction. edit: for a good reference, look into ruslan spivak's posts on building an interpreter or www.craftinginterpreters.com. both are excellent to learn from and they intend to teach.
15th May 2017, 1:41 AM
Venkatesh Pitta
Venkatesh Pitta - avatar