VM 만드는 방법에 대한 유튜브 강의이다.
Terence Parr 라는 교수가 약 2시간 동안 강의한다.
Java로 직접 프로그램하는 방법을 보여준다.
Java Source code는 여기에 있다.
https://github.com/parrt/simple-virtual-machine/tree/shatter-stack/src/vm
GitHub - parrt/simple-virtual-machine: A simple VM for a talk on building VMs
A simple VM for a talk on building VMs. Contribute to parrt/simple-virtual-machine development by creating an account on GitHub.
github.com
C 로 만든 souce code도 있다.
https://github.com/parrt/simple-virtual-machine-C
GitHub - parrt/simple-virtual-machine-C: Same as simple-virtual-machine but in C
Same as simple-virtual-machine but in C. Contribute to parrt/simple-virtual-machine-C development by creating an account on GitHub.
github.com
강의 동영상은 아래 유튜브 비디오에 나와있다.
https://m.youtube.com/watch?v=OjaAToVkoTw#
이 강의를 보고 c++로 프로그램을 만들어 낸 사람의 source code가 아래의 링크에 있다.
https://github.com/mnjrupp/simple-vm-cpp
GitHub - mnjrupp/simple-vm-cpp: c++ implementation of a simple-virtual-machine
c++ implementation of a simple-virtual-machine. Contribute to mnjrupp/simple-vm-cpp development by creating an account on GitHub.
github.com
아래의 것은 간단한 것인데, 파이썬으로 만든 것이다.
위의 유튜브 강의와는 좀 다른 듯하다. (그냥 참조용)
https://csl.name/post/vm/
Making a simple virtual machine interpreter in Python
By Christian Stigen Larsen Posted 28 Jan 2015 — updated 23 Jan 2016 I was asked if I could write a simple blog post on how to make a (process) virtual machine — specifically, a stack machine. Using Python, I'm going to convince you how easy it is! Upda
csl.name
같은 사람이 약간 다르게 프로그램한 source code인데,
c++로 되어 있다.
https://github.com/cslarsen/stack-machine/blob/master/machine.cpp
'C++ 언어' 카테고리의 다른 글
| C++ Hello 프로그램 (0) | 2023.02.15 |
|---|---|
| C++ 에는 split 이 없다 (0) | 2021.10.26 |
| C++ 개인 프로젝트 (0) | 2021.09.24 |
| C++, 텍스트 파일의 빈 줄 지우는 프로그램 (1) | 2021.09.24 |
| C++를 이용 JSON을 SRT 파일로 만들기 (1) | 2021.09.11 |
댓글