www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Where can find dmd back-end source code.

reply lili <akozhao tencent.com> writes:
Hi gues:
   I clone the dmd source code from github but i can find backend 
code. there is a backend dir
in src but can not find x86 native code generator. and the dmd 
wiki page just say
Back end
File 	Function
html.c 	Extracts D source code from .html files  but source can't 
find html.c file.
Jun 17 2019
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
You found it.

https://github.com/dlang/dmd/tree/master/src/dmd/backend

Generates x86 and x86_64.
Jun 17 2019
prev sibling parent Adam D. Ruppe <destructionator gmail.com> writes:
On Monday, 17 June 2019 at 16:41:00 UTC, lili wrote:
 html.c 	Extracts D source code from .html files  but source 
 can't find html.c file.
that file (and associated feature) was removed a long time ago, the wiki is out of date. but the rest of the x86 code generation should all be there in that backend folder.
Jun 17 2019