8cc.vim: Pure Vim script C Compiler
github.com
github.com
(TECO means Text Editor Charactor Oriented, a line editor that had a macro capability. EDLIN was a line editor for MS-DOS.)
Imagine a car company announcing they'd built a perfectly cuboidal car entirely out of (say) tungsten — it only does 3mph and is expensive but we value engineering time over performance!
The current code is essentially assembly instructions running as Vim script, this gotta be incredibly slow, probably not much faster than an x86 emulator written in Vim script:
https://raw.githubusercontent.com/rhysd/8cc.vim/master/autol...
- https://github.com/neovim/neovim/issues/170
- https://github.com/neovim/neovim/issues/387
No human hand-authored this giant pile of VimScript: https://raw.githubusercontent.com/rhysd/8cc.vim/master/autol...