Ondřej Čertík
Ondřej Čertík
LFortran has a Fortran 2018 parser and AST that is very fast to parse and as far as we know complete. If you find a bug, we'll try to fix...
Yes, there is an API that you can use. We don't have a documentation for it, but there is an API that LFortran itself uses to walk and query the...
Yes, the parser is in `src/lfortran/parser/parser.h`. The very old Python version is in the `lfortran.py` repository, don't use that. If you are interested in using the new parser from Python,...
Well so that's the other direction --- use `mini-c` to build e.g. [TinyCC](http://bellard.org/tcc/) and see if one can bootstrap `gcc` with `TinyCC` or something like that. That way all you...
Thanks @lauriro. We should mention this in a comment in the bootstrap script. I don't know if it should be executed by default, as it depends on `sed` and `xxd`....
@lauriro same issue here, that's why I didn't do it yet. :) But I thought a lot about it over the years. One way to do it is go the...
I just did --- I clicked "favorite", is that how you upvote? I also posted some comment there to get started.
Ah ok, I just clicked on it!
@lauriro the cc500 looks awesome, and it is by the same author who wrote bcompiler! Probably not a coincidence. It is simple, readable and something that I am quite confident...
C++ has [std::list](https://en.cppreference.com/w/cpp/container/list) for this. (I added Petaca to your Examples above.) I would mention that I personally have never had a need for a `std::list` in C++, nor any...