home.social

Lova Widmark :cpp_language:

  1. Making good progress on the language server this weekend!

    The idea is to later split the parts of the project into its own separate project.

    My hope is that this will make it easier for others to quickly get a C++ based language server up and running with just a few lines of code.

  2. If anyone is interested in what a simple game looks like in , the source code is already available at github.com/Znurre/ld54/blob/ma

  3. Time for another .

    Most likely gonna try making another entry using my own language, .

    I remember doing it for LD51, and it was very useful for bringing about improvements to the language and the compiler.

  4. 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!

  5. I find that improvements to the 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 . 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!

  6. 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 , it is free from runtime allocations.

  7. 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 progress to share with you all soon! 😀

  8. Progress being made on Windows support. This is a screenshot showing the first ever compiled binary on Windows.

    Still some way to go though. If anyone has in-depth experience with or on , and especially , and would like to help me by brainstorming some things related to linking and deployment of executables... please let me know!

  9. 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.

  10. 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!

  11. Just another evening of compiler debugging 😉

    Today I found the wonderful tool github.com/vaivaswatha/debugir which lets me actually single step the generated LLVM IR of the compiler.