languages.pptVIP

  • 6
  • 0
  • 约3.37千字
  • 约 27页
  • 2017-03-08 发布于天津
  • 举报
languages

CS 540 George Mason University * How to Describe Tokens? Regular Languages are the most popular for specifying tokens Simple and useful theory Easy to understand Efficient implementations * Languages Let S be a set of characters. S is called the alphabet. A language over S is set of strings of characters drawn from S. * Example of Languages Alphabet English characters Language English sentences Alphabet ASCII Language C++ programs, Java, C# * Notation Languages are sets of strings finite sequence of characters Need some notation for specifying which sets we want * Notation For l

文档评论(0)

1亿VIP精品文档

相关文档