Test Blog Page

PlayPen Compiler: Using Bison

Posted by Syndane the Sinister on  February 27, 2020
0
Category: Compiler, PlayPen
Tags: ,
I’ve completed my explanation of Bison and posted it here. Bison is a context-free parser generator. My page has a brief description (considering there are books on the software) of how to form a Bison file. I go through the bison file (grammar.y) used in the PlayPen skeleton project provided in Chapter 0 with comments to explain each grammar rule. An understanding of Bison is important at this particular point and time because this is
Creating even a primitive compiler is difficult. There many tools involved and many points of error. I can compile a language of my own creation now. Unfortunately, I still need another compiler like g++ or clang to do the linking. So after writing this compiler, I will attempt to write a linker. I’m not through with the compiler at the time of this writing. I haven’t implemented branching or looping. LLVM provides documentation for those

My Two Long Term Projects

Posted by Syndane the Sinister on  December 11, 2019
0
Category: News/Status
My goal is to continue to post little projects that may be of use to people in small ways. Little utilities that aren’t revolutionary, just functional tidbits that either produce something useful or increase productivity. I also want to release code that has the least restrictive license possible so you can feel free to copy the code line for line and not worry about attribution. Concern about licenses was one of my biggest headaches as
This project came to me when I needed a way to view messages throughout the execution of my code and I was unable to rely on printing to the console while running a Windowed Application. I had used the debugger, until began to run into loops with hundreds of iterations. It had been suggested to me to use a logging tool. I have grown accustomed to having a logging tool build into my IDE from

How to Write Animations In C#

Posted by Syndane the Sinister on  November 9, 2019
1
Category: Code Sample, Game Code
Tags: , ,
This project will be written in C# because of its ease in creating windowed applications. This application demonstrates one of the simplest algorithms that I can never seem to remember. It presents the solution in a simple way, if you can abstract the windowed boilerplate. The boilerplate provides the tool to test whether the animation algorithm has been implemented correctly. I’ll name my class “AnimationViewer” and include all the needed “usings” and the complete Main().

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.