A schematic editor for VLSI/Asic/Analog custom designs, netlist backends for VHDL, Spice and Verilog. The tool is focused on hierarchy and parametric designs, to maximize circuit reuse.
If you mean how to get the spice netlist out of xschem you can run (even as a subprocess from another script)
xschem schematic.sch -s -n -o . -x -q
it will generate the netlist in the current directory.
I've been playing with this lidar example and would like to run LVS on it or convert it to YAML for our gdsfactory schematic driven layout flow
how could we export the netlist?