digitalmars.D - Is there an 'rdmd' equivalent for C lang?
- ikelaiah (9/9) Sep 02 2022 Hi,
- Jack (3/13) Sep 02 2022 https://stackoverflow.com/questions/10766900/is-there-a-repl-for-c-progr...
- ikelaiah (4/6) Sep 03 2022 Gems! Many thanks for this Jack. I'll try them out.
- bachmeier (4/14) Sep 05 2022 Doesn't rdmd work with C code? D compilers can compile C code, so
- ikelaiah (7/10) Sep 11 2022 Thanks Bachmeier.
- Tejas (3/13) Sep 06 2022 Idk about C but there is one for C++:
- ikelaiah (3/5) Sep 11 2022 Thanks Tejas for the reference to Cling. It does look promising.
Hi, I'm enjoying learning D, especially using [rdmd tool](https://dlang.org/rdmd.html), where I can edit-run quickly, that checks dependencies and freshness of files in a project. It does feel like working with Python, but with C/C++ like syntax that I am familiar with. Out of curiosity, does anyone know if there is such a tool for C that is as convenient as `rdmd`? Thanks.
Sep 02 2022
On Saturday, 3 September 2022 at 03:07:15 UTC, ikelaiah wrote:Hi, I'm enjoying learning D, especially using [rdmd tool](https://dlang.org/rdmd.html), where I can edit-run quickly, that checks dependencies and freshness of files in a project. It does feel like working with Python, but with C/C++ like syntax that I am familiar with. Out of curiosity, does anyone know if there is such a tool for C that is as convenient as `rdmd`? Thanks.https://stackoverflow.com/questions/10766900/is-there-a-repl-for-c-programming i think i have used some of those ages ago tho. give try out
Sep 02 2022
On Saturday, 3 September 2022 at 03:34:32 UTC, Jack wrote:https://stackoverflow.com/questions/10766900/is-there-a-repl-for-c-programming i think i have used some of those ages ago tho. give try outGems! Many thanks for this Jack. I'll try them out. Regards, Ikel
Sep 03 2022
On Saturday, 3 September 2022 at 21:16:51 UTC, ikelaiah wrote:On Saturday, 3 September 2022 at 03:34:32 UTC, Jack wrote:Hi Ikel, A bit late but I thought it could be useful. There's a C compiler (tcc[1]) from Fabrice Bellard that has the option '-run' that allows to automatically run the generated executable. Hope this helps. Antonio [1] https://bellard.org/tcc/https://stackoverflow.com/questions/10766900/is-there-a-repl-for-c-programming i think i have used some of those ages ago tho. give try outGems! Many thanks for this Jack. I'll try them out. Regards, Ikel
Sep 05 2022
On Monday, 5 September 2022 at 17:46:27 UTC, Antonio wrote:A bit late but I thought it could be useful.Hi Antonio, not late at all!There's a C compiler (tcc[1]) from Fabrice Bellard that has the option '-run' that allows to automatically run the generated executable.Never heard of Tiny C Compiler before. WI will give it a try. Thank you. -Ikel
Sep 11 2022
On Saturday, 3 September 2022 at 03:07:15 UTC, ikelaiah wrote:Hi, I'm enjoying learning D, especially using [rdmd tool](https://dlang.org/rdmd.html), where I can edit-run quickly, that checks dependencies and freshness of files in a project. It does feel like working with Python, but with C/C++ like syntax that I am familiar with. Out of curiosity, does anyone know if there is such a tool for C that is as convenient as `rdmd`? Thanks.Doesn't rdmd work with C code? D compilers can compile C code, so long as you don't rely too heavily on the preprocessor. I've never tried it with C files though.
Sep 05 2022
On Monday, 5 September 2022 at 21:53:03 UTC, bachmeier wrote:Doesn't rdmd work with C code? D compilers can compile C code, so long as you don't rely too heavily on the preprocessor. I've never tried it with C files though.Thanks Bachmeier. I tried the example given in [ImportC](https://dlang.org/spec/importc.html) page but unable to get it to work. I will revisit it again -Ikel
Sep 11 2022
On Saturday, 3 September 2022 at 03:07:15 UTC, ikelaiah wrote:Hi, I'm enjoying learning D, especially using [rdmd tool](https://dlang.org/rdmd.html), where I can edit-run quickly, that checks dependencies and freshness of files in a project. It does feel like working with Python, but with C/C++ like syntax that I am familiar with. Out of curiosity, does anyone know if there is such a tool for C that is as convenient as `rdmd`? Thanks.Idk about C but there is one for C++: https://rawcdn.githack.com/root-project/cling/d59d27ad61f2f3a78cd46e652cd9fb8adb893565/www/index.html
Sep 06 2022
On Tuesday, 6 September 2022 at 12:53:48 UTC, Tejas wrote:Idk about C but there is one for C++: https://rawcdn.githack.com/root-project/cling/d59d27ad61f2f3a78cd46e652cd9fb8adb893565/www/index.htmlThanks Tejas for the reference to Cling. It does look promising. -Ikel
Sep 11 2022