4 ms·
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" T
by notsorandomname 10y ago
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.
- alehander42 10y agoIt 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.
- the_af 10y agoIt'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?
- astrobe_ 10y agoIt's as correct as writing a Kernel and call it an OS. If you use that kind of deception too often, people won't take you seriously any more very quickly.
- pgbovine 10y agobest "well-actually" of the day
- deleted 10y ago[deleted]