fork download
  1. object D extends RegexParsers {
  2. override type Elem = Char
  3. def command_name = regex("^(\\$[^\\s]+)".r)
  4. def simple_arg = regex("^([^\\s]+)".r)
  5. def quoted_arg = regex("^\"(.*?(?<!\\\\)(\\\\\\\\)*)\"".r)
  6. def command = command_name ~ (simple_arg | quoted_arg *)
  7. }
  8.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty