AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Tool to translate C code into Adept code #252

Open ghost opened 8 months ago

ghost commented 8 months ago

Discussed in https://github.com/AdeptLanguage/Adept/discussions/206

Originally posted by **ghost** November 12, 2023 There are a lot of simple C code out there. The tool doesn't have to be too powerful to the extent that it can translate any C code regardless of the complexity. This is impossible anyway. But it should be able to translate common C code. This will aid the adoption of the language.
IsaacShelton commented 8 months ago

Yes this would be nice, and something like it is eventually planned, but it might be a long time since it will probably be included as part of Adept 3.x

Angluca commented 4 months ago

How to convert c raylib.h to raylib.adept? I'm newbie T_T

IsaacShelton commented 4 months ago

In order to use a C library from Adept, see https://github.com/AdeptLanguage/Adept/discussions/332#discussioncomment-9266588

There is no automated tool yet, although work is on-going for this in Adept 3.x