当前位置:网站首页>Stanford CS143 Speed Pass PA1 Tutorial
Stanford CS143 Speed Pass PA1 Tutorial
2022-08-10 01:47:00 【ShowM3TheCode】
I finished the PA1 of CS143 today. The most difficult part is that there is no official document (edX), and the COOL language debugging is more difficult. Here is some help for students who are also planning to enter CS143:
p>Preparing for Speedrun
- Virtual VM Setup: If you haven't set up the environment yet, it is recommended to follow the official website. I chose the fool-like construction method, which is to use the official environment, which is the most convenient and not easy to cause problems.
- PA1.pdf (see my repository): I didn't find the document in edX, I borrowed it from someone else's repository, and it explains the requirements in detail.
- cool-manual.pdf (see my warehouse): It is also a supplementary material, very useful. Before doing it, you can read it thoroughly to understand the grammar of the COOL language. Of course, there are a few lectures in class.This example (02-01 ~ 02-03) also needs to go through.
- list.cl in the example: This is very useful, because it is used as a linked list and is implemented in the way of header insertion, which is consistent with the idea of the stack, and can be made into a stack by changing it..
My experience
After reading the above three (manual can be used as a supplement to grammar, read it when you use it), you can start writing. Of course, it is still quite uncomfortable to write. After all, it is a new language. In fact, the biggest pit is that,The debugging of COOL is very strenuous, so many times you just vaguely know that an error has occurred near a certain line. Some of the pits I encountered are as follows:
- if then else is a whole, not without then, or else
- Cannot declare variables in code snippets
Code implementation and information:
The above information and my code implementation are all in this repository
边栏推荐
- 3.4 - 编译与解释 3.5 - 编译过程 3.8 - 文法
- Tensor flow 踩坑记
- 基于FPGA的任意字节数的串口接收(含源码工程)
- labelme标注的json标签转txt格式
- 组件传值-作用域插槽
- Today's sleep quality record 61 points
- Spark基础【RDD单Value类型转换算子】
- 基于ABP的AppUser对象扩展
- 聚焦热点 | ISC 2022软件供应链安全治理与运营论坛圆满落幕
- How to turn off system protection in Win11?How to turn off the system protection restore function?
猜你喜欢
温度响应性纳米水凝胶光子品体/纤维素修饰荧光水凝胶/载脂质体水凝胶的制备方法
WPF DataGrid using data templates
CAS:851113-28-5 (Biotin-ahx-ahx-tyramine)
Description of AirFlow
Win11怎么关闭系统保护功能?系统保护还原功能怎么关闭?
Project (7) - PolarSeg point cloud semantic segmentation
服装店管理系统如何推送活动?
CAS:183896-00-6 (Biotin-PEG3-C3-NH2) PEG derivative
重估HR SaaS:一体化后的新三年
7. type( )函数——查询数据类型
随机推荐
数据库的备份与恢复「建议收藏」
【毕业设计】 基于Stm32的家庭智能监控系统 - 单片机 图像识别 人体检测 AI
关于HBuilder X鼠标变为_ 替换字符的问题
Kubernetes YAML编写 讲解
Docker 面试题2则--取数据库连接数和docker-compose
nfs配置
Creo5.0入门教程赠素材
基于 LSTM 的分布式能源发电预测(Matlab代码实现)
深入理解Aarch64内存管理
abicc 知:API compatibility report 介绍
PEG 衍生物Biotin-PEG1-OH(cas:95611-10-2,2-生物素氨基乙醇)优势说明
考柏的感慨
Today's sleep quality record 61 points
漫谈缺陷管理的自动化实践方案
为什么不建议你在 Docker 中跑 Mysql ?
20220808-一些想法
C语言--数据的存储(上)
宝塔实测-搭建LightPicture开源图床系统
快速响应性智能型/智能响应性聚乙二醇纳米/还原响应型水凝胶的研究与制备
-Knight Parade-