Click here to Skip to main content
14,336,012 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Ha Ha Ha Boris threathens a Trade war with the EU! Pin
Nelek1-Aug-19 19:02
protectorNelek1-Aug-19 19:02 
GeneralRe: Ha Ha Ha Boris threathens a Trade war with the EU! Pin
Richard MacCutchan1-Aug-19 21:19
protectorRichard MacCutchan1-Aug-19 21:19 
GeneralRule 4 Pin
Bram van Kampen6-Aug-19 12:47
memberBram van Kampen6-Aug-19 12:47 
GeneralRe: Rule 4 Pin
Richard MacCutchan6-Aug-19 20:03
protectorRichard MacCutchan6-Aug-19 20:03 
GeneralRe: Rule 4 Pin
Bram van Kampen8-Aug-19 14:26
memberBram van Kampen8-Aug-19 14:26 
GeneralRe: Ha Ha Ha Boris threathens a Trade war with the EU! Pin
RickZeeland1-Aug-19 23:01
mveRickZeeland1-Aug-19 23:01 
GeneralRe: Ha Ha Ha Boris threathens a Trade war with the EU! Pin
Bram van Kampen6-Aug-19 13:15
memberBram van Kampen6-Aug-19 13:15 
Questionyay! project milestone and a question Pin
honey the codewitch1-Aug-19 11:37
memberhoney the codewitch1-Aug-19 11:37 
I got a bunch of the console utilities done for my modular Parser Construction Kit

now you can do things like generate parsers and lexers, and i've almost got the bit where you can convert between different formats (so you can use Gold grammars with ANTLR or YACC, or my parser for example. or user ANTLR grammars with that same list, etc)

That's probably the coolest feature. Now people can use whatever grammars are available with whatever parsers are available.

That's still very experimental and my lexer conversion usually requires hand porting after-the-fact still.

I NEED TO SOLVE ARDEN'S THEOREM in C# to fix the above.

I'm vexed. Still, it's really amazing.

Now you can do like
@echo generating parser
ll1prep xbnf.pck | ll1gen /class XbnfParser > XbnfParser.cs
@echo generating tokenizer/lexer
ll1prep xbnf.pck | fagen /class XbnfTokenizer > XbnfTokenizer.cs


like a unix weenie

pretty soon:
xlate xbnf.pck xbnf.gold.grm
xlate xbnf.antlr.grm xbnf.yacc.y

etc

Now the question: the executable names are pretty general and i wanted to make them more specific to my project so you can put them in the path

the project suite is called pck so I was thinking
like either
pck.ll1gen
pckll1gen
pll1gen
instead of just ll1gen
or
pck.xlate
pckxlate
pxlate
instead of just xlate

what do you guys think for the naming?

i want it as short as can still be reasonable. Specific enough to avoid collisions on most systems (i don't need a guarantee)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

AnswerRe: yay! project milestone and a question Pin
Rick York1-Aug-19 11:55
mveRick York1-Aug-19 11:55 
GeneralRe: yay! project milestone and a question Pin
honey the codewitch1-Aug-19 11:59
memberhoney the codewitch1-Aug-19 11:59 
AnswerRe: yay! project milestone and a question Pin
  Forogar  2-Aug-19 3:12
professional  Forogar  2-Aug-19 3:12 
GeneralRe: yay! project milestone and a question Pin
honey the codewitch2-Aug-19 4:28
memberhoney the codewitch2-Aug-19 4:28 
Jokewe hear you, the microsoft way PinPopular
lopatir1-Aug-19 6:20
memberlopatir1-Aug-19 6:20 
GeneralRe: we hear you, the microsoft way Pin
Richard Deeming1-Aug-19 6:50
mveRichard Deeming1-Aug-19 6:50 
GeneralRe: we hear you, the microsoft way Pin
OriginalGriff1-Aug-19 7:59
protectorOriginalGriff1-Aug-19 7:59 
GeneralRe: we hear you, the microsoft way Pin
Richard Deeming1-Aug-19 8:57
mveRichard Deeming1-Aug-19 8:57 
GeneralRe: we hear you, the microsoft way Pin
Marc Clifton1-Aug-19 8:21
protectorMarc Clifton1-Aug-19 8:21 
GeneralRe: we hear you, the microsoft way Pin
Daniel Pfeffer1-Aug-19 8:47
professionalDaniel Pfeffer1-Aug-19 8:47 
GeneralRe: we hear you, the microsoft way Pin
OriginalGriff1-Aug-19 9:14
protectorOriginalGriff1-Aug-19 9:14 
GeneralRe: we hear you, the microsoft way Pin
CodeZombie622-Aug-19 8:24
memberCodeZombie622-Aug-19 8:24 
GeneralThought of the Day Pin
OriginalGriff1-Aug-19 4:44
protectorOriginalGriff1-Aug-19 4:44 
GeneralRe: Thought of the Day Pin
PIEBALDconsult1-Aug-19 5:00
protectorPIEBALDconsult1-Aug-19 5:00 
GeneralRe: Thought of the Day Pin
W Balboos1-Aug-19 5:03
mveW Balboos1-Aug-19 5:03 
GeneralRe: Thought of the Day Pin
lopatir1-Aug-19 5:20
memberlopatir1-Aug-19 5:20 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer1-Aug-19 6:02
professionalDaniel Pfeffer1-Aug-19 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.