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
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
#include <stdio.h>
int main()
{
puts("hello world");
return 0;
}
Got: source:5:4: error: not found 'puts'
5 | puts("hello world");
|I will added it. Thanks.
Meanwhile you can add:
int puts( const char *str );
source:2:2: error: _Static_assert failed "types are diferent"
2 |static_assert(typeid(a) == typeid(double [10]), "types are diferent"); |^
Seth Meyers must have been offline for a while ?
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.
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!
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.