digitalmars.D - std.dlang?
- Jonathan Marler (6/6) Apr 27 2017 I was reading the ddmd code and 2 thoughts came to mind:
- rikki cattermole (6/7) Apr 27 2017 - It can't be compiled alone on some targets
- Jacob Carlborg (9/10) Apr 27 2017 Yes [1] [2]. I think that there are more pull requests by the same
- Jack Stouffer (4/10) Apr 27 2017 A couple years ago hackerpilot proposed std.lexer to take
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.
Apr 27 2017
On 27/04/2017 3:29 PM, Jonathan Marler wrote: snip2. 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.
Apr 27 2017
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
Apr 27 2017
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.
Apr 27 2017