Skip to content

Commit

Permalink
Vote: moving CESQL spec to v1 (#1293)
Browse files Browse the repository at this point in the history
* change cesql spec to v1

Signed-off-by: Calum Murray <[email protected]>

* fix: translations also marked as v1

Signed-off-by: Calum Murray <[email protected]>

* fix: integer literal does not require a +/- in front

Signed-off-by: Calum Murray <[email protected]>

---------

Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 authored Jun 13, 2024
1 parent d3bca3a commit ed8a2cf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cesql/CESQLLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FALSE: 'FALSE';

DQUOTED_STRING_LITERAL: DQUOTA_STRING;
SQUOTED_STRING_LITERAL: SQUOTA_STRING;
INTEGER_LITERAL: INT_DIGIT+;
INTEGER_LITERAL: ( '+' | '-' )? INT_DIGIT+;

// Identifiers

Expand Down
2 changes: 1 addition & 1 deletion cesql/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# CloudEvents SQL Expression Language - Version 0.1-wip
# CloudEvents SQL Expression Language - Version 1.0

See the [CESQL specification](spec.md).
4 changes: 2 additions & 2 deletions cesql/languages/zh-CN/spec.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CloudEvents SQL Expression Language - Version 0.1-wip
# CloudEvents SQL Expression Language - Version 1.0

本文档尚未被翻译,请先阅读英文[原版文档](../../spec.md)

如果您迫切地需要此文档的中文翻译,请[提交一个issue](https://github.com/cloudevents/spec/issues)
我们会尽快安排专人进行翻译。
我们会尽快安排专人进行翻译。
4 changes: 2 additions & 2 deletions cesql/spec.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CloudEvents SQL Expression Language - Version 0.1-wip
# CloudEvents SQL Expression Language - Version 1.0

## Abstract

Expand Down Expand Up @@ -141,7 +141,7 @@ bit signed integer values.

```ebnf
digit ::= [0-9]
integer-literal ::= ( '+' | '-' ) digit+
integer-literal ::= ( '+' | '-' )? digit+
boolean-literal ::= "true" | "false" (* Case insensitive *)
Expand Down

0 comments on commit ed8a2cf

Please sign in to comment.