flex
build-your-own-x
flex | build-your-own-x | |
---|---|---|
9 | 254 | |
3,436 | 257,792 | |
- | 2.3% | |
8.4 | 6.5 | |
2 days ago | 7 days ago | |
C | ||
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flex
-
How to provide input file for Flex++?
I am using Flex++, which is Flex for C++ and I am having trouble setting the input file. Flex++ uses the FlexLexer class provided in FlexLexer.h to create the lexer object(https://github.com/westes/flex/blob/master/src/FlexLexer.h). In my main function I have
-
Do Regular Expressions only evaluate one line at a time?
Further applications of DFA and NFA: lex or flex, yacc or bison, and POE :-)
-
Cool C projects
How about writing a programming language using Flex and Bison? There are lots of good tutorials and examples out there.
-
Parser and Lexer bike-shedding
Some lexer generators (notably Flex) take input from a file handle by default. While you can always read a file into a string before passing it to the generated lexer, this is not seen as "the best" since you have to read in all the data into memory, which can be a lot.
-
A Good Tool for Resuming Parsers?
Ages ago, I loved writing domain-specific toy languages, and almost always used flex to generate lexers and GNU bison to generate the parser. I've begun a new toy project and I don't think those two will cut it this time, so I'm looking for other tools that integrate well with C++.
-
Please no
I don't understand :c don't lexers like Flex work off of regex rules? Isn't this the correct first step to parse it?
-
A work in progress C compiler from scratch
I wrote a C compiler using flex [1] and bison [2]. The glue between them is a bit hacky.
At some point ANTLR [3] looked promising, but these days I'd probably write a lexer and recursive descent parser by hand, then generate LLVM IR.
[1] https://github.com/westes/flex
-
Dealing with lex and yacc is DIFFICULT so little information is available about them!
github.com/westes/flex/releases
-
Qual’è il commento più assurdo che avete mai trovato nel sorgente di un software?
Un commento in flex, uno storico software, tanto per mostrare che anche i migliori fanno le cose alla buona.
build-your-own-x
-
How to Become a Software Engineer ?
View on GitHub
- Build Your Own X
-
10 GitHub repositories that every developer must follow
✅ codecrafters-io/build-your-own-x : https://github.com/codecrafters-io/build-your-own-x
- 18 Must-Bookmark GitHub Repositories Every Developer Should Know
-
Top 10 GitHub Repositories Every Developer Should Bookmark in 2024
8) Build Your Own X: Unleash your inner inventor and embark on a journey of self-creation with this collection of project ideas for building your own software, tools, and even operating systems. Fuel your entrepreneurial spirit and learn valuable engineering principles by bringing your innovative ideas to life. (https://github.com/codecrafters-io/build-your-own-x)
-
Crafting Interpreters
Also if we can someone merge this level of detail/guidance with the projects on https://codecrafters.io/, i would easily pay for something like that.
-
Resources I wish I knew when I started my career
Build your own X is another useful resource for a curious mind.
-
I want some fun things to code with python
This is what you're looking for: Build your own X!
- What now?
- GitHub - codecrafters-io/build-your-own-x: Master programming by recreating your favorite technologies from scratch.
What are some alternatives?
LKI - LKI's dotfiles.
project-based-learning - Curated list of project-based tutorials
cpp-peglib - A single file C++ header-only PEG (Parsing Expression Grammars) library
chibicc - A small C compiler
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
languages - Powers multi-language support for CodeCrafters challenges
ocean - Programming language that compiles into a x86 ELF executable.
Daily-Coding-DS-ALGO-Practice - A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
Apollo-11 - Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
computer-science - :mortar_board: Path to a free self-taught education in Computer Science!
owl - A parser generator for visibly pushdown languages.
every-programmer-should-know - A collection of (mostly) technical things every software developer should know about