tree-hugger
wordwarvi
Our great sponsors
tree-hugger | wordwarvi | |
---|---|---|
2 | 4 | |
121 | 102 | |
5.0% | - | |
0.0 | 1.9 | |
over 2 years ago | 11 months ago | |
Python | C | |
MIT License | 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.
tree-hugger
- Tree-Hugger: Mine / Query source code
-
Tree Sitter and the Complications of Parsing Languages
tree-sitter is a great framework. I have used it quite a bit in past. I even created a small library on top of it, called tree-hugger (https://github.com/autosoft-dev/tree-hugger) Really enjoyed their playground as well.
wordwarvi
-
Friday Post: What is something you made or solved in C that you are proud off?
Word War vi - side scrolling shootem-up kind of like Williams Defender.
-
how do i make a game in C
At a very high level, set up an array of objects in your game. Each object has the ability to draw itself, and move itself. Each iteration of the game, move all the objects, and draw all the objects and sample user input. Set up a timer to iterate the game 30 or 60 times per second. Here's one game I wrote in C that works in this way: Word War vi If you dig through old commits in the repo you can follow the development from the very beginning, which begins with just creating a GTK window with a button). Almost every commit in that repo should compile and run. There may be the odd one here or there that crashes, but 99% of them should be fine, so if you want to advance through the commit history and see how the game progressed over time, you can do that. I wouldn't presume say the code is exemplary by any stretch, but it's fairly straight forward, and it works.
-
Tree Sitter and the Complications of Parsing Languages
> Semantic Bovinator
Heh. A long time ago I wrote a video game[1] somewhat similar to Williams Defender, and casting about for some sort of "theme" for the game, I hit upon the "editor wars", the ancient storied battle between vi and emacs. You are ostensibly "vi", (a little spaceship vaguely reminiscent of the Vipers from Battlestar Galactica) cruising through system memory, evading system processes, GDB instances, etc trying to recover your ".swp" files. How to represent Emacs? Obviously, via a giant blimp! and I could display all sorts of messages on the side of the blimp, singing the praises of Emacs, and disparaging fans of vi. And the Emacs blimp had a "memory leak", which meant that pieces of the xemacs source code would literally leak out of the back end of the blimp, with the letters floating lazily away, like smoke. So that meant I had to take a look at the xemacs source, dig through it and try to find some funny bits to put in. Of course, "semantic bovinate" jumped out at me.[2]
-
What is your best project using C?
Honorable mention probably goes to Word War vi
What are some alternatives?
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
vscode-theme-alabaster-dark - Dark version of alabaster ported from https://github.com/tonsky/sublime-scheme-alabaster
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
atom-focus-mode - Atom editor extension - fades editor content and highlights only the lines you are working on
rainbow-identifiers - Rainbow identifier highlighting for Emacs
chip-walo - CHIP-8 Emulator using C and SDL2.
pivotnacci - A tool to make socks connections through HTTP agents
dpdk - Data Plane Development Kit
sixten - Functional programming with fewer indirections
sublime-scheme-alabaster - Minimalist color scheme for Sublime Text 3
project-euler - My solutions for Project Euler problems in Python, C, C++, C#, F#, Go, Haskell, Java, JavaScript, PHP, Ruby, SQL
Kernel - Kernel for the LuaOS operating system