diff --git a/src/.gitignore b/src/.gitignore index bf44c799a..d42705c24 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -2,5 +2,4 @@ Makefile.in *_test args -parser calc diff --git a/src/grammar.bnf b/src/grammar.bnf deleted file mode 100644 index 68c09a11e..000000000 --- a/src/grammar.bnf +++ /dev/null @@ -1,84 +0,0 @@ -# The command line needs to obey a grammar. It is against this grammar that -# bugs will be identified. -# -# Conventions: -# - Literals are always double-quoted. -# - "*", "+" and "?" suffixes have POSIX semantics. -# - Low-level primitives are in . -# - @name for entity lists such as custom report names. -# -# The general form of commands is: -# task [ all-commands ] -# - - grammar ::= all-commands? - ; - - all-commands ::= report-command -# | read-command - | write-command -# | special-command - ; - - report-command ::= filter @report ; -# read-command ::= filter @readcmd ; - write-command ::= filter @writecmd modifiers ; -# special-command ::= ; - - filter ::= expression? ; - - expression ::= term "and" expression - | term "or" expression - | term - ; - - term ::= ; - - modifiers ::= ; - -# Low-level: - -# dom ::= context-value -# | system-value -# | rc-value -# | task-value -# ; - -# context-value ::= "context.program" -# | "context.args" -# | "context.width" -# | "context.height" -# ; - -# system-value ::= "system.version" -# | "system.os" -# ; - -# rc-value ::= /rc\.[a-zA-Z.]+/ -# ; - -# task-value ::= "." @attribute -# | "." @attribute -# ; - -# literal ::= -# | -# | -# | -# ; - -# Supported primitives: -# -# -# -# "rc." name "=" string -# " ... " -# -# ISO-8601 date -# ISO-8601 duration -# @command all commands -# @report all custom reports -# @attribute all attributes, UDAs -# @readcmd all read-only commands -# @writecmd all write commands -