Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.
Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 17, 2021 Simple text editor program | ||||
---|---|---|---|---|
| ||||
November 16, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On 11/16/21 6:10 PM, pascal111 wrote: > Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone. I am not familiar with any of them but searching for 'editor' finds some packages: https://code.dlang.org/search?q=editor I think 'med' is by Walter Bright; he uses that editor daily. Ali |
November 17, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On Wednesday, 17 November 2021 at 02:10:07 UTC, pascal111 wrote: > Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone. Probably not what you really want but this old post has a cute sample program using my minigui.d https://forum.dlang.org/post/dyvhplzvsoojwkypdhaw@forum.dlang.org Of course most the functions are just stubs. |
November 17, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote:
> On 11/16/21 6:10 PM, pascal111 wrote:
>> Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.
>
> I am not familiar with any of them but searching for 'editor' finds some packages:
>
> https://code.dlang.org/search?q=editor
>
> I think 'med' is by Walter Bright; he uses that editor daily.
>
> Ali
It's a emacs' variant written in D?
|
November 17, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dr Machine Code | On 11/17/21 12:49 PM, Dr Machine Code wrote: >> I think 'med' is by Walter Bright; he uses that editor daily. >> >> Ali > > It's a emacs' variant written in D? Yes. The dub page explains that the original author is Dave G. Conroy. med is written by Walter and is his favorite editor. (I should try it one day and see how different it is from Emacs.) Ali |
November 17, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 17 November 2021 at 21:37:01 UTC, Ali Çehreli wrote: > On 11/17/21 12:49 PM, Dr Machine Code wrote: > > >> I think 'med' is by Walter Bright; he uses that editor daily. > >> > >> Ali > > > > It's a emacs' variant written in D? > > Yes. The dub page explains that the original author is Dave G. Conroy. med is written by Walter and is his favorite editor. (I should try it one day and see how different it is from Emacs.) > > Ali It was originally written in C. Walter ported it to D in 2008: https://github.com/DigitalMars/med/blob/master/src/med/main.d |
November 17, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dr Machine Code | On Wednesday, 17 November 2021 at 20:49:22 UTC, Dr Machine Code wrote: > On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote: >> On 11/16/21 6:10 PM, pascal111 wrote: >>> Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone. >> >> I am not familiar with any of them but searching for 'editor' finds some packages: >> >> https://code.dlang.org/search?q=editor >> >> I think 'med' is by Walter Bright; he uses that editor daily. >> >> Ali > > It's a emacs' variant written in D? Emacs, but not GNU Emacs. There's a big difference: http://www.texteditors.org/cgi-bin/wiki.pl?EmacsFamily |
November 18, 2021 Re: Simple text editor program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote: >On 11/16/21 6:10 PM, pascal111 I think 'med' is by Walter Bright; he uses that editor daily. Med is too simple,just for learn. |
Copyright © 1999-2021 by the D Language Foundation