xxleyi / learning_list

聚集自己的学习笔记
10 stars 3 forks source link

编译器之形式语言 #275

Open xxleyi opened 3 years ago

xxleyi commented 3 years ago

Formal Languages

L(regular expression with syntax) = set of strings with meaning, where function L is many to 1, never 1 to many.

image

Def: let ∑ be set of characters (an alphabet). A language over ∑ is set of strings of characters drawn from ∑

Meaning function L maps syntax to semantics.