Reserved keywords count by programming language?

Is there a ranking or table of the number of reserved keywords in various programming languages?

I do not need to know the keywords per se but how many keywords languages like C, C++, C#, Perl, Python, PHP, Smalltalk, Lisp, and Ruby have.


Lists of keywords in ...

  • ANSI COBOL 85: 357
  • SystemVerilog: 250 + 73 reserved system functions = 323
  • VHDL 2008: 115 reserved words
  • C#: 79 + 23 contextual = 102
  • F#: 64 + 8 from ocaml + 26 future = 98
  • C++: 82
  • Dart: 54
  • Java: 50
  • PHP: 49
  • Ruby 42
  • JavaScript: 38 reserved words + 8 words reserved in strict mode only
  • Python 3.x: 33
  • C: 32
  • Python 2.7: 31
  • Go: 25
  • CoffeeScript: 19, not necessarily "reserved", plus ~50 to avoid from JS
  • Smalltalk: 6 pseudo-variables
  • iota: 2
  • ...
  • 链接地址: http://www.djcxy.com/p/72302.html

    上一篇: 动态类型语言与静态类型语言

    下一篇: 保留关键字按编程语言计算?