Re:500 Lines or Less – A Python Interpreter Written in Python
by notsorandomname on Thursday September 08, 2016 @02:56PM
(#12456120)
Shouldn't the title of the article be "500 lines or less - ceval.c written in Python" or "500 lines or less - a python bytecode interpreter written in python"
The original one is just misleading.
[ Parent
| on HN ]
Re:500 Lines or Less – A Python Interpreter Written in Python
by alehander42 on Thursday September 08, 2016 @03:07PM
(#12456241)
It is an interpreter and that's absolutely correct. They could've even said "A vm in Python" because that is a VM, just without JIT etc. The compiler includes a parser usually, but interpreters in the purest sense of the word interpret the semantics of some structure corresponding to the code.
Re:500 Lines or Less – A Python Interpreter Written in Python
by the_af on Thursday September 08, 2016 @04:06PM
(#12456801)
It's not an interpreter of the programming language Python, however. It's a VM for Python bytecode, which is not what most people understand as Python, right?