Permalink
Browse files

+2 C# grammars (full ECMA set)

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@798 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed May 9, 2010
1 parent d007265 commit 0e306f86717a777ab8c7d6869d896ebbb58b9d8d
Showing with 16,745 additions and 6 deletions.
  1. +12 −6 topics/grammars/csharp/Makefile
  2. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-1}/Makefile
  3. +19 −0 topics/grammars/csharp/ecma-334-1/README.txt
  4. +12 −0 topics/grammars/csharp/ecma-334-1/banned-lines.lst
  5. +1,675 −0 topics/grammars/csharp/ecma-334-1/ecma-334-annex.txt
  6. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-1}/extracted-grammar.bgf
  7. +24 −0 topics/grammars/csharp/ecma-334-1/keywords.lst
  8. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-2}/Makefile
  9. +13 −0 topics/grammars/csharp/ecma-334-2/README.txt
  10. +12 −0 topics/grammars/csharp/ecma-334-2/banned-lines.lst
  11. +850 −0 topics/grammars/csharp/ecma-334-2/ecma-334-annex.txt
  12. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-2}/extracted-grammar.bgf
  13. +24 −0 topics/grammars/csharp/ecma-334-2/keywords.lst
  14. +13 −0 topics/grammars/csharp/ecma-334-3/Makefile
  15. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-3}/README.txt
  16. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-3}/banned-lines.lst
  17. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-3}/ecma-334-annex.txt
  18. +7,039 −0 topics/grammars/csharp/ecma-334-3/extracted-grammar.bgf
  19. 0 topics/grammars/csharp/{ecma-334-2005 → ecma-334-3}/keywords.lst
  20. +13 −0 topics/grammars/csharp/ecma-334-4/Makefile
  21. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-4}/README.txt
  22. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-4}/banned-lines.lst
  23. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-4}/ecma-334-annex.txt
  24. +7,039 −0 topics/grammars/csharp/ecma-334-4/extracted-grammar.bgf
  25. 0 topics/grammars/csharp/{ecma-334-2006 → ecma-334-4}/keywords.lst
@@ -1,6 +1,8 @@
build:
cd ecma-334-2005 && make build
cd ecma-334-2006 && make build
cd ecma-334-1 && make build
cd ecma-334-2 && make build
cd ecma-334-3 && make build
cd ecma-334-4 && make build
cd iso-23270-2003 && make build
cd iso-23270-2006 && make build
cd msft-ls-1.0 && make build
@@ -9,8 +11,10 @@ build:
cd msft-ls-4.0 && make build
clean:
cd ecma-334-2005 && make clean
cd ecma-334-2006 && make clean
cd ecma-334-1 && make clean
cd ecma-334-2 && make clean
cd ecma-334-3 && make clean
cd ecma-334-4 && make clean
cd iso-23270-2003 && make clean
cd iso-23270-2006 && make clean
cd msft-ls-1.0 && make clean
@@ -19,8 +23,10 @@ clean:
cd msft-ls-4.0 && make clean
test:
cd ecma-334-2005 && make test
cd ecma-334-2006 && make test
cd ecma-334-1 && make test
cd ecma-334-2 && make test
cd ecma-334-3 && make test
cd ecma-334-4 && make test
cd iso-23270-2003 && make test
cd iso-23270-2006 && make test
cd msft-ls-1.0 && make test
@@ -0,0 +1,19 @@
C# Language Specification
Standard ECMA-334
1st Edition
December 2001
http://www.ecma-international.org/publications/files/ECMA-ST-WITHDRAWN/ECMA-334,%201st%20edition,%20December%202001.pdf
Errors spotted right away:
page 341:
the definition of keyword lacks:
assembly remove get set field method module param property add volatile
(added manually to keywords.lst)
page 347:
the definition of primary-no-array-creation-expression contains sizeof-expression,
which should be a part of §A.3 Grammarextensionsforunsafecode
(manually removed from ecma-334-annex.txt)
(spotted because {sizeof-expression} was L-split into {"sizeof" "-" expression})
@@ -0,0 +1,12 @@
1
2
3
4
5
6
7
8
9
0
SPECIFICATION
Appendix
Oops, something went wrong.

0 comments on commit 0e306f8

Please sign in to comment.