Please sign in to access this page

Stats

2
Projects
33
Devlogs
8
Votes
0
Ships

Coding Time

All Time: 101h 47m
Today: 0h 0m

Member Since

July 21, 2025

Projects

2
🚀
1 devlog • over 1 year ago
🚀
32 devlogs • over 1 year ago

Activity

GLStudios
GLStudios worked on GLang
5h 9m • about 1 year ago

gave up; we using bison now

Update attachment
GLStudios
GLStudios worked on GLang
1h 1m • about 1 year ago

gtest i guess

Update attachment

Well generating the table was easy. Need to make an actual LR Parser impl for it to be useful at all however.

Update attachment

ok now its pog

Update attachment
GLStudios
GLStudios worked on GLang
2h 26m • about 1 year ago

State table generated? pog?

Update attachment
GLStudios
GLStudios worked on GLang
1h 53m • over 1 year ago

Closures for LookAhead States implemented after some head scratching

Update attachment
GLStudios
GLStudios worked on GLang
1h 19m • over 1 year ago

And we got first set generation

Update attachment
GLStudios
GLStudios worked on GLang
1h 30m • over 1 year ago

Closure operation looks to be working after some infinite recursion woes

Update attachment
GLStudios
GLStudios worked on GLang
1h 26m • over 1 year ago

Memtested things + added multi-file support

Update attachment
GLStudios
GLStudios worked on GLang
4h 38m • over 1 year ago

Got the Parser's Parser parsing

Update attachment
GLStudios
GLStudios worked on GLang
1h 38m • over 1 year ago

guess who just wrote an entire LR(0) parser before realizing the grammar is too complex for an LR(0) parser

Update attachment
GLStudios
GLStudios worked on GLang
1h 10m • over 1 year ago

trust me bro its all very easy

Update attachment
GLStudios
GLStudios worked on GLang
8h 7m • over 1 year ago

Many, many, many iterations of parsing later and we're just gonna hand-roll a LR parser now. Might make a custom Parser Generator later, but this (should) work fine for now

Update attachment

(mostly) modeled the current irl state

Update attachment
GLStudios
GLStudios created a project
477d ago

VEX Pushback Bot

Competition bot for VEX Robotics 2025-2026 Push-Back Season

1 devlog 0 followers
GLStudios
GLStudios worked on GLang
1h 45m • over 1 year ago

A week in and still working on the Lexer

Update attachment
GLStudios
GLStudios worked on GLang
41m • over 1 year ago

(slowly) working on rewriting tree.h for the 3rd time

Update attachment
GLStudios
GLStudios worked on GLang
57m • over 1 year ago

Yet Another Language Syntax

Update attachment
GLStudios
GLStudios worked on GLang
1h 35m • over 1 year ago

Got Operator parsing done + a little debug printing system for the AST

Update attachment
GLStudios
GLStudios worked on GLang
55m • over 1 year ago

gotta love having a clean valgrind report

Update attachment
GLStudios
GLStudios worked on GLang
3h 51m • over 1 year ago

it only took 3+ hours of work... but its (partially) done. WE HAVE AST BOI

Update attachment
GLStudios
GLStudios worked on GLang
1h 9m • over 1 year ago

ok feel much better bout this one

Update attachment
GLStudios
GLStudios worked on GLang
1h 23m • over 1 year ago

Did some LLVM research... yeah I'ma redo some of this AST while I'm ahead

Update attachment
GLStudios
GLStudios worked on GLang
38m • over 1 year ago

You ever seen a recursive freeing mechanism? nor have i this is awful code im sorry

Update attachment
GLStudios
GLStudios worked on GLang
11m • over 1 year ago

Ok I think I finally got an AST that might work

Update attachment
GLStudios
GLStudios worked on GLang
1h 32m • over 1 year ago

Still working on getting the structures right :(

Update attachment
GLStudios
GLStudios worked on GLang
40m • over 1 year ago

ASTs are hard :(

Update attachment
GLStudios
GLStudios worked on GLang
24m • over 1 year ago

Some cleanup to start the morning

Update attachment
GLStudios
GLStudios worked on GLang
1h 31m • over 1 year ago

Lexer is now complete (probably)

Update attachment
GLStudios
GLStudios worked on GLang
1h 34m • over 1 year ago

Got the Lexer somewhat designed; Just gotta actually throw it in.

Oh, and I Decided on a Bottom-up Parser design w/ separate Lexer & AST generation.

Update attachment
GLStudios
GLStudios worked on GLang
24m • over 1 year ago

Gotta love ANSI escape codes

Update attachment
GLStudios
GLStudios worked on GLang
45m • over 1 year ago

Got Input file parsing implemented (LinkedLists my beloved)

Update attachment
GLStudios
GLStudios worked on GLang
48m • over 1 year ago

Got a basic CLI parsing setup + Created a logger function for future usage

Update attachment
GLStudios
GLStudios worked on GLang
1h 1m • over 1 year ago

The Beginning.

So the other day I was doing a project in Rust, particularly using Const Generics to do some cool stuff with Matricies and Compile-time Verification of arithmetic. However, as I tried to implement the Kronecker Product (if you don't know what that is; good), I encountered limitations with the current implementation of Const Generic Expressions.

This, combined with a few other small gripes with the language, and running on 2am energy; I had the idea. If Rust is so bad, why not make my own? And GLang was born.

Some Goals I have with this language is;
- Similar Syntax to Rust (my beloved)
- Simple & Robust Type System
- Easy binding with C Libraries
- Actually usable Const Generics
- Memory Safety via Borrows & Ownership
- (Potentially) Async-forward Design

So far just a simple Bazel project to make a bootstrapper in C. This Bootstrapper is just a simple compiler for the language, feature complete enough to compile a GLang project complex enough to implement itself. That's right; Compiler Inception. I chose to write this in C instead of Rust for one simple reason; LLVM.

I'm not insane enough to write a full compiler; complete with an optimization system, linker system, and compilation for target systems (Assembly D:). So, like Rust, I'll be using LLVM to actually do the hard part of compiling to a usable program. LLVM is written in C++, and does have a C API, alongside bindings in Rust. However I thought it might be easier to just remove a layer of abstraction and just work directly with C. It had also been a while since I've worked with C, so I thought it might be a fun challenge to return to my roots.

Whether I get very far in this; I have no clue. A fully functional Programming Language is a massive project and incredibly stupid idea [INSERT XKCD-927 HERE], however I excel in stupidity, so hopefully this doesn't get dropped after 30 seconds :3

Update attachment
GLStudios
GLStudios created a project
485d ago

GLang

Rust-inspired ToyLang

32 devlogs 1 follower
GLStudios
GLStudios joined Summer of Making
485d ago

This was widely regarded as a great move by everyone.