Lova Widmark :cpp_language:
-
-
If anyone is interested in what a simple game looks like in #fluenc, the source code is already available at https://github.com/Znurre/ld54/blob/main/main.fc
-
I know I've been kind of silent lately, and truth to be told, work has been the center of my attention.
But every now and then, I work on fluenc, and the main thing that has been brewing is a language server for the language!
Getting navigation working in an IDE/editor feels like such a huge step, and makes the language feel so much more complete in one single sweep.
Still a long way to go, obviously, but very happy about the progress!
-
I find that improvements to the #fluenc compiler usually comes in waves.
I have a goal in mind - a project that I am working on, and which is shaping all development of #fluenc. Most new features, are added to satisfy a requirement of this project.
Once the feature is in place and works, I can move the project further along, and often I either find bugs or performance issues that need to be fixed.
Right now I am in the performance phase, with multiple optimizations in the pipeline!
-
So, one cool thing that I have been working on, is modules support. There is now a rudimentary package manager (think Cargo).
With that in place, it felt like a great opportunity to start working on a basic standard library for the language.
Today I added basic I/O support with streams, and very basic string formatting capabilities.
As with most things in #fluenc, it is free from runtime allocations.
-
Also yes, I know I have been very silent for a while. But in my case, that just means that I am busy working on stuff.
I have some cool #fluenc progress to share with you all soon! 😀
-
Progress being made on Windows support. This is a screenshot showing the first ever #fluenc compiled binary on Windows.
Still some way to go though. If anyone has in-depth experience with #c or #cpp on #windows, and especially #msvcrt, and would like to help me by brainstorming some things related to linking and deployment of executables... please let me know!
-
-
Extremely productive weekend!
I managed to get a first POC in place for modules support, with more extensive support to come soon.
In addition, thanks to some great help from @kwarf, the changes I made for proper Windows support are now built with the CI.
There's still some way to go before the resulting binary can actually be used to link Windows executables, though.
-
Making progress on the compiler the past few days. Yesterday I finally fixed the last known bug, which has been keeping me busy for the past 3 months or so.
Feels so nice to finally be done with that. Now I can focus on new features.
Next in the pipeline is Windows support, support for modules, and a basic standard library to be shipped with the compiler!
-
Just another evening of compiler debugging 😉
Today I found the wonderful tool https://github.com/vaivaswatha/debugir which lets me actually single step the generated LLVM IR of the compiler.