Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 27, 2017 std.dlang? | ||||
---|---|---|---|---|
| ||||
I was reading the ddmd code and 2 thoughts came to mind: 1. ddmd is much simpler than I imagined. 2. how has the front end not been integrated into the standard library? Is someone working on this? I had some ideas on how this could be done. |
April 27, 2017 Re: std.dlang? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Marler | On 27/04/2017 3:29 PM, Jonathan Marler wrote:
snip
> 2. how has the front end not been integrated into the standard library?
- It can't be compiled alone on some targets
- You can't reuse it in the same process
Ignoring the obvious that it isn't structured right for as a library.
It has a long way to go before this is a good idea.
|
April 27, 2017 Re: std.dlang? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Marler | On 2017-04-27 16:29, Jonathan Marler wrote: > Is someone working on this? I had some ideas on how this could be done. Yes [1] [2]. I think that there are more pull requests by the same author. The lexer is already available as a Dub package [3], although it's not regularly updated (or at all). [1] https://github.com/dlang/dmd/pull/6603 [2] https://github.com/dlang/dmd/pull/6625 [3] http://code.dlang.org/packages/ddmd -- /Jacob Carlborg |
April 27, 2017 Re: std.dlang? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Marler | On Thursday, 27 April 2017 at 14:29:06 UTC, Jonathan Marler wrote:
> I was reading the ddmd code and 2 thoughts came to mind:
>
> 1. ddmd is much simpler than I imagined.
> 2. how has the front end not been integrated into the standard library?
>
> Is someone working on this? I had some ideas on how this could be done.
A couple years ago hackerpilot proposed std.lexer to take libdparse into Phobos. I think it died because of maintenance/backwards compatibility concerns.
|
Copyright © 1999-2021 by the D Language Foundation