当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Web性能测试模型小结
365天挑战LeetCode1000题——Day 052 逐步求和得到正数的最小值 贪心
为什么不建议你在 Docker 中跑 Mysql ?
Project (7) - PolarSeg point cloud semantic segmentation
Win11怎么关闭系统保护功能?系统保护还原功能怎么关闭?
dlopen failed: library "libtaml.so" not found
阿雷的血压有些低
【问题解决】训练和验证准确率很高,但测试准确率很低
JVM内存和垃圾回收-10.直接内存
openEuler 知:abi 检测
基于FPGA的任意字节数的串口接收(含源码工程)
Leecode-205. 同构字符串
2022中高级Android面试题汇总来助你通过面试
How to activate the payment function on WeChat official account?
The technical aspects of the byte have been passed, and the salary has been negotiated for 20K*13, but the result is still being brushed. I asked the HR why...
The older tester has just passed the "hurdle" of being 35 years old, and I want to tell you something from my heart
CAS:851113-28-5 (生物素-ahx-ahx-酪胺)
Creo5.0 introductory tutorial free material
【毕业设计】基于ESP32的在线墨水屏桌面摆件 -物联网 单片机 嵌入式
收银管理软件如何做好员工管理?









