GRU Devlog 25 - occ, oircd

January 23, 2022 — G1n

So I decided to make this devlog every two weeks. Why? Because I joined ircnow and can be a bit busy because of school.

Previous week I was trying to make add working in occ. I haven’t done it, because I didn’t understood how to make it in proper abstract syntax tree. I don’t want publish it until I will make it done.

In the end of that week I joined ircnow and got a lot of cool admin expirience and I hope it will help me with GRU. Now I am part of the team, but for more info check post on my own blog.

This week I started developing own irc daemon. I have own server now, so i test it there. Currently it is able to handle simple NICK and USER commands. I tryed to setup PRIVMSG, but got it working only with one user (when privmsg to someone, user “server” replies to you). Currently trying to make it in proper way (maybe will use dictionaries, I don’t know yet).

Also maybe I will move our xmpp muc or any other things to my own server.

Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)

tags: gru, occ, oircd

GRU Devlog 24 - occ and new web design

January 09, 2022 — G1n

This week I was working on occ

First I have done lexer. Seems it is totally working, if we will need to add some new keywords, just adding if statement is needed. But maybe will be better to rewrite it to linked list, but I didn’t understood how it works so for now just list of tokens.

First thing I have done after lexer is simple code generator. So occ can generate very simple assembler code! For now it can just generate functions (int) and return (just number). But I think it was cool progress in 5 days.

Then I started making parser. It took several days to properly implement binary trees, but seems it is done now. It can make very simple tree with function token and return that can be understood by code generator function

Also chunk has made very cool website design and logo. If you read this devlog, you can see how cool is it :)

Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)

tags: gru, occ

GRU Devlog 23 - more olibc and start of occ (and more projects ideas!)

January 02, 2022 — G1n

I think this week was productive. I have done a lot of things to olibc. First I finally implemented working FILE struct. That required to implement malloc and free, so we also have it now! Then stdio.h was implemented. Still need to make a lot of functions, but we already have most useful ones (for examples every C11 printf functions implemented and fully working). Also finally stdin/stdout/stderr file descriptors working properly.

We have full implemented <ctype.h> header now! It wasn’t really hard.

This year I started from tryes to make occ - GRU C compiler (maybe it will be GRU Compiler Collection in future). A lot of things will need to be implemented and a lot of new to know! I hope it will be fun :)

Happy New 2022 Year! I hope we will make a lot of new tools this year. And more people will join us :)

Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)

tags: gru, olibc, occ