f0rget-the-sad / compilers-stanford-cs143

Going through Stanford CS143 Compiler course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilers (Stanford CS143)

Setup

Fuck to download ~2Gig WM with ~6M of actual project resources. So Directly install it on Linux

  1. Download course resources
wget https://courses.edx.org/asset-v1:StanfordOnline+SOE.YCSCS1+1T2020+type@asset+block@student-dist.tar.gz -O resources.tar.gz
  1. Install packages. For Ubuntu:
$ sudo apt-get install flex bison build-essential csh libxaw7-dev

Also if u do file bin/.i686/spim, u will notice it's 32-bit LSB executable, dynamically linked So some sort of 32-libs required For Ubuntu > 16.04 -

$ sudo apt install lib32z1
  1. Activate env - just add binaries to your $PATH
$ source env.sh

Links

About

Going through Stanford CS143 Compiler course


Languages

Language:C++ 87.6%Language:Perl 7.2%Language:Makefile 1.3%Language:Shell 1.1%Language:C 0.9%Language:Yacc 0.9%Language:Cool 0.5%Language:Lex 0.5%