int-201-decision computation&language

Week1 Lecture1

The steps of Compilation:

1.Lexical Analysis(词法分析):

divide sequence of characters into tokens, such as variable names,operators, labels. In a natural language tokens are strings of consecutive letters (easy to recognize)

2.Parse Tree:

identify relationships between tokens

parse tree or parsing tree or derivation tree or concrete syntax tree is an ordered,rooted tree that represents the syntactic structure of a string according tosome context-free grammar.

3.Code generation:

is part of the process chain of a compiler and convertsintermediate representation of source code into a°form (e.g.,machine code)that can be readily executed by the target system.

4.Code optimization:

is the process of modifying a software system to make someaspect of it work more efficiently or use fewer resources. In general, a computerprogram may be optimized so that it executes more rapidly,or to make itcapable of operating with less memory storage or other resources, or draw lesspower.

Automata:

An automaton is an abstract model of a digital computer

Week1 Tutorial1

Mathematical preliminaries:数学初步 回顾一些基本的数学定义

1.Set 集合

set is a collection of well-defined objects. 

2.Graph


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值