Also known as flex.1, flex++, flex(1), lex.1, lex(1), Fast lexical analyzer generator, lex
free software alternative to lex
flex is a tool for generating scanners: programs which recognize lexical patterns in text. The flex codebase is kept in Git on GitHub. Source releases of flex with some intermediate files already built can be found on the github releases page. Use GitHub's issues and pull request features to file bugs and submit patches. [email protected] - where posts will be made announcing new releases of flex. [email protected] - where you can post questions about using flex [email protected] - where you can discuss development of flex itself This code is derived from software contributed to Berkeley by Vern Paxson. The United States Government has rights in this work pursuant to contract no. DE-AC03-76SF00098 between the United States Department of Energy and the University of California. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Excerpt from the source-code README · 2,980 chars · not written by Vinony
flex è un generatore automatico di scanner. Uno scanner è un programma che, dato in input uno stream di caratteri, compie delle azioni ogni volta che incontra una determinata combinazione di caratteri (token). Per questa ragione il programma generato viene anche detto tokenizer, o analizzatore lessicale. Flex è lo standard per la generazione automatica di scanner in linguaggio C. Viene utilizzato insieme a GNU Bison per generare automaticamente programmi in grado di eseguire il parsing di stream di caratteri appartenenti ad un determinato linguaggio formale. Un'applicazione tipica è quella della scrittura di compilatori: il programma scritto dall'utente è lo stream di caratteri in ingresso. Lo scanner analizza questo file riconoscendo le parole chiave ed i simboli del linguaggio, passando il proprio output al parser, il quale ha il compito di riconoscere le vere e proprie regole grammaticali del linguaggio e produrre il codice macchina corrispondente al programma iniziale, o di segnalare gli errori incontrati. flex è l'alternativa libera a
Abstract from DBpedia / Wikipedia · CC BY-SA
via Wikidata · CC0
via Wikidata sitelinks · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).