On Friday, 17 February 2023 at 17:03:34 UTC, ron77 wrote:
Hello, I succeeded in converting an ELIZA code from C to D, and here are the results. although I'm sure there are better ways to code it or to convert it...

[...]

Among the things to do the first is to drop C-style strings, so that you can get rid of `strlen()` and `strcat()` for example.

Then maybe try to rewrite your for-loops as UFCS pipes.

Have fun.

Reply via email to