RIOT
flex
Our great sponsors
RIOT | flex | |
---|---|---|
39 | 9 | |
4,781 | 3,428 | |
1.0% | - | |
9.9 | 7.8 | |
7 days ago | 2 days ago | |
C | C | |
GNU Lesser General Public License v3.0 only | 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.
RIOT
-
Comp Sci Student Interested in Embedded
RIOT-OS is somewhat popular in academia, it tries to be very approachable but there are still plenty of low hanging fruits with all kinds of hardware and you can use it for software and thesis projects.
-
Open source embedded projects
Just one example: https://github.com/RIOT-OS/RIOT
-
Is Mbed still relevant?
You could also take a look at RIOT-OS. http://riot-os.org
- Woke up today to my first ever pull request of one of my public repos! Wait... oh... oh god...
-
Looking for a GitHub repo which contains unit tests
RIOT-OS has a lot of unit tests for all the boards they support. And it's written in C. https://github.com/RIOT-OS/RIOT/tree/master/tests
-
What's the best book and microcontroller to learn embedded design?
Another option is using RIOT-OS. But that unfortunately doesn't support PWM for the Weact. It does support PWM for the Bluepill and Blackpill STM32f103 and the Nucleo-f446 After quick search. \ https://riot-os.org
-
What should I buy to begin learning embedded systems development?
If you want to use C, I would suggest trying out RIOT-OS. It's a modern embedded operating system, written in C and focussed on IOT. It works on a lot of different boards. https://github.com/RIOT-OS/RIOT
- Best kit to get started using C.
- RIOT-OS 2022.10 · Release Notes
-
Programming arduino in actual C
Alternatively, you can also write your code in an RTOS. They often have scripts that make flashing and debugging easy. One that I personally like, and also supports Arduino, is RIOT-OS.
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.
What are some alternatives?
FreeRTOS-Kernel - FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
LKI - LKI's dotfiles.
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
cpp-peglib - A single file C++ header-only PEG (Parsing Expression Grammars) library
pico-sdk
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
mbed-os - Arm Mbed OS is a platform operating system designed for the internet of things
ocean - Programming language that compiles into a x86 ELF executable.
mongoose-os - Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
Apollo-11 - Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
lwcell - Lightweight cellular modem host AT library
owl - A parser generator for visibly pushdown languages.