phanalist
ZQuestClassic
phanalist | ZQuestClassic | |
---|---|---|
5 | 11 | |
108 | 450 | |
- | 0.0% | |
9.3 | 9.9 | |
14 days ago | 6 days ago | |
Rust | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
phanalist
-
Traversing an AST of PHP source code.
Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.
-
How I made it impossible to write spaghetti code.
In the following paragraph, we will see how phanalist can calculate the cyclomatic complexity of the scope of a method. Before creating Phanalist, I always kept the cyclomatic complexity of the methods I wrote in my mind. And if I see that the complexity is higher than 10. I always try to refactor the method, making it easier to understand.
-
Ask HN: Show me your half baked project
https://github.com/denzyldick/phanalist
I'm trying to write a static analyzer for PHP. It's written in RUST and it's a personal project of mine to learn rust and also make a FAST static analyzer for PHP projects that are big. I started with this project because the current static analyzers in the PHP ecosystem are slow.
It would be nice if there were people that would like to contribute. If you want to learn rust and you have PHP experience you are welcome to help.
- Ask HN: What's your most starred repo?
- A new PHP static analyser(Phanalist)
ZQuestClassic
-
Ask HN: What rabbit hole(s) did you dive into recently?
I've been doing some modernization on an old scripting language used by the game engine I work on [1]. Added a garbage collector, simplified how internal symbols are defined, added a VS code extension with some niceties like syntax highlighting, "Go to Definition", and doc tooltips. Also recently added support for websockets and plan to tackle JSON soon.
https://github.com/ZQuestClassic/ZQuestClassic
-
Lessons from Open-Source Game Projects
ZQuest Classic - Engine to play and create games like the original Zelda. C++, OpenGL
-
Ask HN: Show me your half baked project
Developing a new website for the open source game engine I work on. Nearly finished with it.
https://zquestclassic.com
It's a Zelda-like game engine with some 1000ish games made in it over 20 years. Used to be called Zelda Classic, but we renamed it this year.
-
A forum engine written in Assembly
Thanks, that was a silly oversight. Your comment is appreciated, as it saved an instruction in my game engine's JIT compilation :)
https://github.com/ArmageddonGames/ZQuestClassic/commit/0a78...
-
Show HN: Using C++23 <stacktrace> to get proper crash logs in C++ programs
I found Sentry's crash reporting (which uses crashpad) simple enough to configure into an existing CMake build within an afternoon.
Building Sentry/crashpad from source in a few lines of CMake: https://github.com/ArmageddonGames/ZQuestClassic/commit/3471...
And a few lines in the main function: https://github.com/ArmageddonGames/ZQuestClassic/commit/3471...
-
Ask HN: Examples of desktop software with 20+ years of longevity?
My hobby is working on a 20+ year game engine. Still occasionally delete DOS-only code in it. https://github.com/ArmageddonGames/ZQuestClassic
-
MSVC: The Devourer of Const
```
The `Hero.{x,y}` properties here are a custom fixed precision number class with some implicit conversions to int, which I suspect being relevant to the crash.
[1] https://github.com/ArmageddonGames/ZQuestClassic/blob/e678e9...
-
Ccache – a fast C/C++ compiler cache
https://github.com/ArmageddonGames/ZQuestClassic/commit/641d...
Using it locally too, works great on Mac, but on Windows ccache has some problems caching debug builds. IIRC the embedded debug symbols use absolute paths, so the presence of this particular flag (/Z something...) disables cache eligibility.
-
An evolution of handhelds. 1989-2022
i love zelda. if interested in custom quests on pc, go to zeldaclassic.com 100s of custom quests
-
Nintendo games I have played in my life. Rate my taste.
If you'd like to try custom quests on computer, go to http://zeldaclassic.com
What are some alternatives?
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
shellrunner - Write safe shell scripts in Python.
php-malware-analysis - Deobfuscation and analysis of PHP malware captured by a WordPress honey pot
nature - 🍀 The Nature Programming Language, may you be able to experience the joy of programming.
react-gamin - A rockin' React library for makin' games!
esther - Dear Esther, you're about to become an idea for a diary app that embeds an LLM.
icecream - Distributed compiler with a central scheduler to share build load
seleneCMSBundle - Add CMS functionality to your Symfony Apps
rascal - RAnsac Assisted Spectral CALibration
stronglytyped - Keyboard layout analyzer and generator
ail-framework - AIL framework - Analysis Information Leak framework
libfault - Simple C library for basic crash reporting functionality, based on Phusion Passenger.