Click here to Skip to main content
14,331,308 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: Sound of the Week Pin
Sander Rossel2-Aug-19 4:49
professionalSander Rossel2-Aug-19 4:49 
GeneralRe: Sound of the Week Pin
Tachyonx2-Aug-19 4:58
memberTachyonx2-Aug-19 4:58 
GeneralRe: Sound of the Week Pin
Sander Rossel2-Aug-19 5:43
professionalSander Rossel2-Aug-19 5:43 
GeneralRe: Sound of the Week Pin
Tachyonx2-Aug-19 6:38
memberTachyonx2-Aug-19 6:38 
GeneralRe: Sound of the Week Pin
David O'Neil3-Aug-19 8:05
professionalDavid O'Neil3-Aug-19 8:05 
GeneralRe: Sound of the Week Pin
Sander Rossel4-Aug-19 23:06
professionalSander Rossel4-Aug-19 23:06 
GeneralRe: Sound of the Week Pin
David O'Neil5-Aug-19 6:35
professionalDavid O'Neil5-Aug-19 6:35 
GeneralI can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 1:33
memberhoney the codewitch2-Aug-19 1:33 
they really need to unify these different .NET platforms (Core vs Windows)

right now, because of the ugliness of using core console apps from a windows command line, i've made a windows executable, and packaged all my commands up into one monolithic exe. I'll make a similar core exe too, using the same codebase (stupid, i know)

The reason for the monolithic exe was that it was the difference between creating 2 projects or 10 projects.

Anyway, i don't like having to workaround all this crap. I'd have probably broken my app up differently in .NET 5. As it is here's my usage screen

Usage: pckw <command> [<arguments>]

Commands:

pckw fagen [<specfile> [<outputfile>]] [/class <classname>] [/namespace <namespace>] [/language <language>]

  <specfile>    The pck specification file to use (or stdin)
  <outputfile>  The file to write (or stdout)
  <classname>   The name of the class to generate (or taken from the filename or from the start symbol of the grammar)
  <namespace>   The namespace to generate the code under (or none)
  <language>    The .NET language to generate the code for (or draw from filename or C#)

  Generates an FA tokenizer/lexer in the specified .NET language.


pckw ll1gen [<specfile> [<outputfile>]] [/class <classname>] [/namespace <namespace>] [/language <language>]

  <specfile>    The pck specification file to use (or stdin)
  <outputfile>  The file to write (or stdout)
  <classname>   The name of the class to generate (or taken from the filename or from the start symbol of the grammar)
  <namespace>   The namespace to generate the code under (or none)
  <language>    The .NET language to generate the code for (or draw from filename or C#)

  Generates an LL(1) parser in the specified .NET language.


pckw ll1 [<specfile> [<outputfile>]]

  <specfile>    The pck specification file to use (or stdin)
  <outputfile>  The file to write (or stdout)

  Factors a pck grammar spec so that it can be used with an LL(1) parser.


pckw xlt [<inputfile> [<outputfile>]] [/transform <transform>] [/assembly <assembly>]

  <inputfile>   The input file to use (or stdin)
  <outputfile>  The file to write (or stdout)
  <transform>   The name of the transform to use (or taken from the input and/or output filenames)
  <assembly>    The assembly to reference

  Translates an input format to an output format.

  Available transforms include:

   pckToLex     Translates a pck spec to a lex/flex spec
   pckToYacc    Translates a pck spec to a yacc spec
   xbnfToPck    Translates an xbnf grammar to a pck spec.

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.

GeneralRe: I can't wait for .NET 5 Pin
#realJSOP2-Aug-19 1:38
mve#realJSOP2-Aug-19 1:38 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 1:41
memberhoney the codewitch2-Aug-19 1:41 
GeneralRe: I can't wait for .NET 5 Pin
#realJSOP2-Aug-19 1:56
mve#realJSOP2-Aug-19 1:56 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 1:58
memberhoney the codewitch2-Aug-19 1:58 
GeneralRe: I can't wait for .NET 5 Pin
Sander Rossel2-Aug-19 2:12
professionalSander Rossel2-Aug-19 2:12 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 2:13
memberhoney the codewitch2-Aug-19 2:13 
GeneralRe: I can't wait for .NET 5 Pin
Sander Rossel2-Aug-19 3:36
professionalSander Rossel2-Aug-19 3:36 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 4:49
memberhoney the codewitch2-Aug-19 4:49 
GeneralRe: I can't wait for .NET 5 Pin
Nathan Minier2-Aug-19 4:29
professionalNathan Minier2-Aug-19 4:29 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 4:29
memberhoney the codewitch2-Aug-19 4:29 
GeneralRe: I can't wait for .NET 5 Pin
  Forogar  2-Aug-19 4:36
professional  Forogar  2-Aug-19 4:36 
GeneralRe: I can't wait for .NET 5 Pin
honey the codewitch2-Aug-19 4:50
memberhoney the codewitch2-Aug-19 4:50 
GeneralRe: I can't wait for .NET 5 Pin
  Forogar  2-Aug-19 7:36
professional  Forogar  2-Aug-19 7:36 
GeneralNull Pointer Exception Pin
lw@zi 2-Aug-19 1:27
professional lw@zi 2-Aug-19 1:27 
GeneralRe: Null Pointer Exception Pin
0x01AA2-Aug-19 1:31
professional0x01AA2-Aug-19 1:31 
GeneralRe: Null Pointer Exception Pin
Maximilien2-Aug-19 2:43
memberMaximilien2-Aug-19 2:43 
GeneralRe: Null Pointer Exception Pin
RickZeeland2-Aug-19 2:09
mveRickZeeland2-Aug-19 2:09 

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.