Eko: New Programming language write entirely in D (Feedback welcome)
user1234
user1234 at 12.de
Sat Aug 22 10:14:23 UTC 2026
On Saturday, 22 August 2026 at 09:53:14 UTC, pouya1dev wrote:
> On Saturday, 22 August 2026 at 09:18:36 UTC, user1234 wrote:
>> On Saturday, 22 August 2026 at 08:38:39 UTC, pouya1dev wrote:
>>> On Friday, 21 August 2026 at 20:44:37 UTC, user1234 wrote:
>>>> [...]
>>>
>>> I checked the link you gave
>>> https://github.com/beast-lang/beast-dragon and it seems that
>>> this language is no longer being updated. Because its last
>>> commit was 8 years ago. Also, the developer himself said that
>>> he has stopped developing the project. But I still think it
>>> is a great resource to learn. I think it could become a
>>> successful language. I was wondering if I could email him and
>>> he would respond? If so, that would be great.
>>
>> That a meme "dont ask to ask, just ask". The author explicitly
>> told me on IRC that his preliminary work can be used, i.e he
>> switched to something else. The licence also gives you rights.
>>
>> Before using Beast as a base for something else, however, I
>> would consider a bit how things are organized. If you look
>> well, each node had its own source file, which is not
>> something I liked. The big 5000 SLOCs source is not great
>> either but actually, with the visitor pattern, that's often
>> just N micro-programs, with N the number of nodes.
>
> Also, having each node in its own file can be useful at first,
> especially when you are trying to find where a bug is. But as
> the project grows, maintaining and navigating all those small
> files can become a nightmare.
Man, I never had an issue with debug infos. GDB just gives you
the right place, hopefully. That does not matter if it's a 200
sloc file or a 5000 one.
My last message was really more about the architecture. Too much
source files in a compiler has an impact. Typically you'll have
3x syscalls to put the content of the file in a buffer. (1.get
the size, 2.open, 3.read)
More information about the Digitalmars-d
mailing list