上传者: weixin_40071570
|
上传时间:2023/8/30 20:47:24
|
文件大小:3.9MB
|
文件类型:pdf
WritingACompilerInGo.pdf
WritingACompilerInGoisthesequeltoWritingAnInterpreterInGo.Itstartsrightwherethefirstonestopped,withafully-working,fully-testedMonkeyinterpreterinhand,connectingbothbooksseamlessly,readytobuildacompilerandavirtualmachineforMonkey.Inthisbook,weusethecodebase(includedinthebook!)fromthefirstpartandextendit.Wetakethelexer,theparser,theAST,theREPLandtheobjectsystemandusethemtobuildanew,fasterimplementationofMonkey,rightnexttothetree-walkingevaluatorwebuiltinthefirstbook.Theapproachisunchanged,too.Working,testedcodeisthefocus,webuildeverythingfromscratch,dobabysteps,writetestsfirsts,useno3rd-party-librariesandseeandunderstandhowallthepiecesfittogether.It'sacontinuationinproseandincode.
本软件ID:11863045