For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more thradams's commentsregister

Even having experience with C/C++, C preprocessor and C declarations took a long time. Some time to get used to the grammar as well.

A language without preprocessor and a simple grammar saves a lot time and you can go direct for the funny parts.


German by chance? Hopefully you're okay with language corrections :)

I live in Germany now and I often hear "funny" (lustig) used where "fun" (Spaß, used in English as an adjective too - something like spaßig but that's still considered "funny") should instead be used. Just a tip!

This project is awesome, by the way. Thanks for posting it.


Probably brazilian by the Portuguese comments.


Yes! I am Brazilian.


with skills like this, mind to push cello forward? https://github.com/orangeduck/Cello really like it but not skillful enough to do it myself.


This is my hobby project of a C23 Front End.

One of its unique features is the transpiler that can generate readable code, preserving macros and formatting.

See it online: http://thradams.com/web3/playground.html


Tried this:

    #include <stdio.h>

    int main()
    {
       puts("hello world");
       return 0;
    }
Got:

    source:5:4: error: not found 'puts'

     5 |  puts("hello world");
   |


The declaration of puts is missing at the stdio.h used by the web version. (If you output preprocessed you will see the declarations are there)

I will added it. Thanks.

Meanwhile you can add:

int puts( const char *str );


Caught a typo already :)


thanks! :D


Typo in the title as well - although I like the idea that a programmer in the future will search for a contemporary feature called a 'compiler frond' and happen upon this discussion.


Wow this is really bad!

This was my first topic here in hacker news.

I wasn't expecting all this traffic. Good to see and find more people interested in this kind of project.

I will be more careful in the future.


Eh, users here just like to find things to complain about. If you didn't have some little typos, the thread would just be bikesheding. And, too much care and you'll never share.

It is a hobby project anyway, it doesn't need to be perfect, and it was good to share either way. People are clearly interested!


Agreed!


> Wow this is really bad!

People making comment, even about typos means that people find the project interesting enough to read it and try to write a helpful comment. This is a great first topic in HN.


While we're at it, it's "analysis", not "analisys"...


Also, there's "different" vs. "diferent" in the examples:

source:2:2: error: _Static_assert failed "types are diferent"

2 |static_assert(typeid(a) == typeid(double [10]), "types are diferent"); |^


Wow, the jackals are out in full force tonight ;)

Seth Meyers must have been offline for a while ?


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You