Re: All these errors running basic Pegged helloworld example.

2019-01-11 Thread 0xEAB via Digitalmars-d-learn
On Friday, 11 January 2019 at 17:35:40 UTC, Enjoys Math wrote: Thanks, I downloaded Coedit, but it's not working with pegged (using the library manager dub button) According to your post in [0], it didn't work because you had a typo in `pegged`. Maybe correct it and try again :) - Elias

Re: All these errors running basic Pegged helloworld example.

2019-01-11 Thread Steven Schveighoffer via Digitalmars-d-learn
On 1/11/19 1:21 PM, Enjoys Math wrote: On Friday, 11 January 2019 at 17:44:33 UTC, Michelle Long wrote: On Sunday, 27 September 2015 at 06:30:37 UTC, Enjoys Math wrote: [...] You need to add most of the pegged files... there are more than 3. Try adding them all first then remove the junk

Re: All these errors running basic Pegged helloworld example.

2019-01-11 Thread Enjoys Math via Digitalmars-d-learn
On Friday, 11 January 2019 at 17:44:33 UTC, Michelle Long wrote: On Sunday, 27 September 2015 at 06:30:37 UTC, Enjoys Math wrote: [...] You need to add most of the pegged files... there are more than 3. Try adding them all first then remove the junk like the examples, docs, etc until it

Re: All these errors running basic Pegged helloworld example.

2019-01-11 Thread Michelle Long via Digitalmars-d-learn
On Sunday, 27 September 2015 at 06:30:37 UTC, Enjoys Math wrote: The example is: import pegged.grammar; mixin(grammar(` Arithmetic: Term < Factor (Add / Sub)* Add < "+" Factor Sub < "-" Factor Factor < Primary (Mul / Div)* Mul < "*" Primary Div

Re: All these errors running basic Pegged helloworld example.

2019-01-11 Thread Enjoys Math via Digitalmars-d-learn
On Sunday, 27 September 2015 at 07:16:51 UTC, BBasile wrote: On Sunday, 27 September 2015 at 06:30:37 UTC, Enjoys Math wrote: The example is: import pegged.grammar; mixin(grammar(` Arithmetic: Term < Factor (Add / Sub)* Add < "+" Factor Sub < "-" Factor Factor

All these errors running basic Pegged helloworld example.

2015-09-27 Thread Enjoys Math via Digitalmars-d-learn
The example is: import pegged.grammar; mixin(grammar(` Arithmetic: Term < Factor (Add / Sub)* Add < "+" Factor Sub < "-" Factor Factor < Primary (Mul / Div)* Mul < "*" Primary Div < "/" Primary Primary < Parens / Neg / Pos / Number /

Re: All these errors running basic Pegged helloworld example.

2015-09-27 Thread BBasile via Digitalmars-d-learn
On Sunday, 27 September 2015 at 06:30:37 UTC, Enjoys Math wrote: The example is: import pegged.grammar; mixin(grammar(` Arithmetic: Term < Factor (Add / Sub)* Add < "+" Factor Sub < "-" Factor Factor < Primary (Mul / Div)* Mul < "*" Primary Div