Re: Better watch out! D runs on watchOS!

2015-12-28 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > > I don't understand how the bitcode requirement works on your own > device: I thought that was for an Apple-submitted app that they then > compiled to binary themselves? Do you have to go through the same > process even for test apps, ie no sideloading? Or does the device > its

Re: Better watch out! D runs on watchOS!

2015-12-28 Thread Joakim via Digitalmars-d-announce
On Monday, 28 December 2015 at 08:45:46 UTC, Dan Olson wrote: Joakim writes: I don't understand how the bitcode requirement works on your own device: I thought that was for an Apple-submitted app that they then compiled to binary themselves? Do you have to go through the same process even

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Nick B via Digitalmars-d-announce
On Sunday, 27 December 2015 at 21:13:07 UTC, Stefan Koch wrote: Hello again. please feel free to comment or ask questions here. Hi. what languages do you plan to support for input and output ?

Re: So You Want To Write Your Own Language

2015-12-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-12-27 00:55, Walter Bright wrote: Many of the lowerings require semantic information that is not available from ASTs. Hence the "in theory" ;). It's hard to tell what would be possible to implement with AST macros without implementing the complete macro system and use it. Of course i

Re: Three Cool Things about D

2015-12-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-12-27 17:23, Andrei Alexandrescu wrote: That looks pretty cool! -- Andrei It's based on Haml which is pretty well known as well. -- /Jacob Carlborg

Re: Better watch out! D runs on watchOS!

2015-12-28 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-12-28 09:45, Dan Olson wrote: On implication of Apple requiring bitcode: if Apple is compiling the bitcode with their clang or llc, then it means using a modifed LLVM like I do to support thread-locals on watchOS, tvOS, or iOS is only good for side loading. Probably going to have to wor

Re: Three Cool Things about D

2015-12-28 Thread Rory McGuire via Digitalmars-d-announce
On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote: [snip] >> Vibe.d had a template engine called diet which is almost like Jade. It >> is also completed so yo

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote: what languages do you plan to support for input and output ? I just planned on PL/0 as input and C as output. It is a simple one-pass (okay 2 pass if you count the optimizer) trans-compilation. There is no middle-end. And very littl

Re: Better watch out! D runs on watchOS!

2015-12-28 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > > Thanks for the detailed answer; I'm sure this will now become the > definitive answer online. I've gone googling for technical info only > to sometimes be directed back to a post in these D forums. :) Me too! Its very funny when that happens. > Time to get emulated TLS for M

Re: Better watch out! D runs on watchOS!

2015-12-28 Thread Dan Olson via Digitalmars-d-announce
Jacob Carlborg writes: > > Would it be possible to bypass LLVM and do the thread local specific > parts in LDC? That is Plan B.2

Re: DLanguage IntelliJ plugin released

2015-12-28 Thread Kingsley via Digitalmars-d-announce
On Friday, 25 December 2015 at 17:43:06 UTC, Kingsley wrote: On Friday, 25 December 2015 at 16:55:32 UTC, Bogdan wrote: On Friday, 25 December 2015 at 15:28:23 UTC, Pradeep Gowda wrote: On Friday, 25 December 2015 at 15:04:42 UTC, eyveer wrote: On Friday, 25 December 2015 at 13:57:52 UTC, Prade

Better docs for D (WIP)

2015-12-28 Thread Adam D. Ruppe via Digitalmars-d-announce
Last week, I posted in the general forum my dream for better D docs. Today, about 4 days of work later, I'm about 1/4 of the way there. Still a long way to go, but I've already come so far. First, behold my old dpldocs.info site. Yes, it is still up and now it ties into my new docs! You can u

Re: Better docs for D (WIP)

2015-12-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/28/15 3:15 PM, Adam D. Ruppe wrote: http://dpldocs.info/ Inspired by the php docs, I also have it able to search direct from a URL. Click this: http://dpldocs.info/findSkip The signature proper is nice. The formatting of "&&" in the constraint is inconsistent, but I guess that's a matt

Re: Better docs for D (WIP)

2015-12-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
One more note: I salute the initiative of another doc generator and read the motivation behind it. Yet I do think it's worth asking ourselves two questions: (a) is the new proposed system differentiated enough to justify its existence and motivate others to join in? (b) are the existent syst

Re: Better docs for D (WIP)

2015-12-28 Thread Rikki Cattermole via Digitalmars-d-announce
On 29/12/15 12:05 PM, Andrei Alexandrescu wrote: One more note: I salute the initiative of another doc generator and read the motivation behind it. Yet I do think it's worth asking ourselves two questions: (a) is the new proposed system differentiated enough to justify its existence and motivate

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Nick B via Digitalmars-d-announce
On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote: On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote: what languages do you plan to support for input and output ? I just planned on PL/0 as input and C as output. It is a simple one-pass (okay 2 pass if you count the optimi

Poodinis 6.0.0 released

2015-12-28 Thread Mike Bierlee via Digitalmars-d-announce
Poodinis 6.0.0 has been released! Poodinis is a dependency injection framework for the D programming language. It is inspired by the Spring Framework and Hypodermic IoC container for C++. Poodinis supports registering and resolving classes either by concrete type or interface. Automatic injec

Implementing a Programming Language in D: Lexical Analysis

2015-12-28 Thread Walter Bright via Digitalmars-d-announce
http://blog.felixangell.com/implementing-a-programming-language-in-d-part-1/ https://www.reddit.com/r/programming/comments/3ykko7/implementing_a_programming_language_in_d_lexical/ https://news.ycombinator.com/item?id=10802610 (Go through the front page, not this link, or your votes won't count)

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 28 December 2015 at 23:40:31 UTC, Nick B wrote: On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote: On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote: what languages do you plan to support for input and output ? I just planned on PL/0 as input and C as output. I

Re: Better docs for D (WIP)

2015-12-28 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 28 December 2015 at 23:01:05 UTC, Andrei Alexandrescu wrote: The signature proper is nice. The formatting of "&&" in the constraint is inconsistent, but I guess that's a matter with the formatting of the code. Yeah, that is a css bug I just forgot about getting in to everything els

Re: Better docs for D (WIP)

2015-12-28 Thread Andrei Alexandrescu via Digitalmars-d-announce
Rikki Cattermole wrote: > On 29/12/15 12:05 PM, Andrei Alexandrescu wrote: >> One more note: I salute the initiative of another doc generator and read >> the motivation behind it. Yet I do think it's worth asking ourselves two >> questions: >> >> (a) is the new proposed system differentiated enou

Re: pl0stuff an optimizing pl0 > c transcompiler

2015-12-28 Thread Nick B via Digitalmars-d-announce
On Tuesday, 29 December 2015 at 00:50:49 UTC, Stefan Koch wrote: so could it be used to produce D output instead of C ? Could it be used to parse PHP as input ? That would probably require implementing a vm. fancyPars can certainly be used to create a php parser but a straightforward transl

Re: Better docs for D (WIP)

2015-12-28 Thread Rikki Cattermole via Digitalmars-d-announce
On 29/12/15 4:08 PM, Andrei Alexandrescu wrote: Rikki Cattermole wrote: On 29/12/15 12:05 PM, Andrei Alexandrescu wrote: One more note: I salute the initiative of another doc generator and read the motivation behind it. Yet I do think it's worth asking ourselves two questions: (a) is the new

Re: Implementing a Programming Language in D: Lexical Analysis

2015-12-28 Thread Ali Çehreli via Digitalmars-d-announce
On 12/28/2015 04:28 PM, Walter Bright wrote: > https://www.reddit.com/r/programming/comments/3ykko7/implementing_a_programming_language_in_d_lexical/ Although the author does not use many D idioms, I've just learned (re-learned?) anonymous enums from that code. I've realized that with a nes

Re: Implementing a Programming Language in D: Lexical Analysis

2015-12-28 Thread Ali Çehreli via Digitalmars-d-announce
On 12/28/2015 09:57 PM, Ali Çehreli wrote: > anonymous enums Wow! They are pretty weird: 1) The second form of the AnonymousEnumDeclaration spec is redundant, right? http://dlang.org/spec/enum.html#AnonymousEnumDeclaration enum : EnumBaseType { EnumMembers } enum { EnumMembers }