I am building my own language with Flex, but I want to know some things:
Lexical analysis helps to simplify parsing, since tokens can be considered as abstract entities, rather than specific sequences of characters.
You need more than flexibility to build your language: Lexical analysis is only the first step.
, , / , . else if (strcmp (..)==0) ... . , sscanf strtok, - .
else if (strcmp (..)==0) ...
, flex, :
, BNF ( EBNF) () , , , , .
, , , , , .
, , (BNF) , , , , .
Source: https://habr.com/ru/post/1724292/More articles:Integrate Fedex into your web application - soapCode verification: determining if a folder exists given the full path to the file? - .netGraphic plot with FLOT using mysql and ajax - ajax"Lack of a full declaration for the private type .." in Ada - adaHow can I create a LINQ-to-SQL statement when I have a table name as a string? - c #Is there a good place to discuss compilers? - compiler-constructionASP.NET MVC - проверка контроллера, возвращающего разные представления, в зависимости от логики метода действий - unit-testingProblem of using ancestor axis in XPath predicate - xmlWhat is the .NET equivalent of java.util.concurrent java package? - javaasp.net: response.redirect не работает - asp.netAll Articles