S
S
StMechanus2016-12-13 22:46:14
Algorithms
StMechanus, 2016-12-13 22:46:14

What are the fastest algorithms for parsing text strings?

Tell me the fastest algorithms for parsing text into data objects. It is about converting strings into specific data objects. For example, parsing html, xml or css. As far as I understand, you need to look towards string tokenization algorithms, where you can create some semblance of dictionaries or something like that.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2016-12-13
@Rsa97

In general, this is a classic compilation task - conversion from one language to another. It is usually performed using a pair of tools - a lexer that recognizes individual lexemes of the language, and a parser that builds a final tree based on the grammar of the language and the input lexemes.
Try starting with the classic - the red dragon book .

A
Andrey Burov, 2017-04-25
@myspace

WHERE role_id IN (5,6,1,3,8)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question