查看: 6622| 回复: 13
跳转到指定楼层
上一主题 下一主题
收起左侧

[汇编|硬件] [Coursera] Compilers Design (Unit #1)

🔗
defjex | 只看该作者 |倒序浏览
全局:
公开课
学校名称: Stanford
Unit号: 1
开课时间: 2012-10-12
课程全名: Compilers
平台: Coursera

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
Stanford CS143: Compilers
老师: Professor Alex (phd from Cornell University)

摘抄课程的小广告
This course covers both the principles and practice for the design and implementation of compilers and interpreters. Topics covered include: lexical analysis; parsing theory; symbol tables; type systems; scope; semantic analysis; intermediate representations; runtime environments; code generation; and basic program analysis and optimization. Students may optionally construct a compiler for a simple object-oriented language during the course's programming projects.

关于作业
Programming assignments 1-4 will direct you to design and build a compiler for "Cool". Each assignment will cover one component of the compiler: lexical analysis, parsing, semantic analysis, and code generation. Each assignment will ultimately result in a working compiler phase which can interface with other phases.
You will have an option of doing your projects in C++ or Java.


这一周的内容:
Lexical Analysis
Lexical Analysis
Regular Languages
Formal Languages

Finite Automata
Lexical Specification
Finite Automata
Regular Expressions into NFAs
NFA to DFA
Implementing Finite Automata

这门课总共有4次大作业,所以我们的帖子按照大作业的进度来(而不是按照上课的week数)。

第一次的作业:
For this assignment, you are to write a lexical analyzer, also called a scanner, using a lexical analyzer generator. (The C++ tool is called
ex; the Java tool is called jlex.) You will describe the set of tokens for Cool in an appropriate input format, and the analyzer generator will generate the actual code (C++ or Java) for recognizing tokens in Cool programs.




上一篇:有同学在学coursera的compiler么?
下一篇:[Coursera] Compilers Design (Unit #2)
🔗
 楼主| defjex 2012-10-15 05:18:33 | 只看该作者
全局:
第一次作业

评分

参与人数 1学分 +1 收起 理由
m4reiiy + 1

查看全部评分

回复

使用道具 举报

🔗
modifiedname 2012-10-15 06:28:08 | 只看该作者
全局:
lz 我纯粹就是进来膜拜的
真的是一步一个脚印儿上了这么多课了
拜服!!!!!

点评

lz非常有意志力啊!i did none of these things sigh....要努力努力  发表于 2012-10-15 14:45
^o^ …… 说"膜拜"就言重了。其实,刷课跟英语学习版上的同学刷issue作文、编程算法版上刷career cup一样,只是不同的人把时间拿来做不同的事而已 :)  发表于 2012-10-15 07:20
回复

使用道具 举报

🔗
daniel.kong 2012-10-28 04:38:24 | 只看该作者
全局:
有人一起上这个课么,还有做出来的project放哪里哇,我没有参加过这种课呢
回复

使用道具 举报

全局:
我想参与,怎么参与啊?有专门帖子介绍下怎么个参与讨论吗?谢谢!

点评

https://www.coursera.org/course/compilers  发表于 2012-11-4 23:01
回复

使用道具 举报

🔗
goldbach4477 2012-11-28 01:52:38 | 只看该作者
全局:
有没有人在上这个课的?过了due要扣50%?是不是就不可能过了…………
回复

使用道具 举报

🔗
lixiang.xjtu 2012-12-9 22:42:37 | 只看该作者
全局:
能把作业的代码借我看看不,我弄了好久,好多东西不明白
回复

使用道具 举报

🔗
highnation 2013-2-12 04:45:16 | 只看该作者
全局:
去https://www.coursera.org/course/compilers注册了,可是不知道在哪有视频或者交作业之类的。很晕啊。
回复

使用道具 举报

🔗
cs900601 2013-2-16 07:57:01 | 只看该作者
全局:
啊!我最近也在看这个
不过是上一个星期报的Self-Study,我也刚做了第一个作业感觉第一个作业是用于熟悉Flex的过程

KompilerPA1.png (29.41 KB, 下载次数: 5)

KompilerPA1.png

评分

参与人数 1学分 +1 收起 理由
m4reiiy + 1

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表