The TMG interpreter used by Thompson to create B was implemented for the PDP-7 by Doug McIlroy in PDP-7 assembly language: http://minnie.tuhs.org/pipermail/tuhs/2014-September/005149....
This is what TMG looked like: http://multicians.org/tmg.html
The TMG interpreter used by Thompson to create B was implemented for the PDP-7 by Doug McIlroy in PDP-7 assembly language: http://minnie.tuhs.org/pipermail/tuhs/2014-September/005149....
This is what TMG looked like: http://multicians.org/tmg.html