philipturner / molecular-renderer

Renderer for molecular nanotechnology
MIT License
65 stars 6 forks source link

Update parser script to get going in Windows #6

Closed crtag closed 1 year ago

crtag commented 1 year ago

Not sure if this is the Swift toolchain in Windows, but I had to get the types done this way, otherwise was a no-go at all. If there are better alternatives, happy to revise.

philipturner commented 1 year ago

Updated the docs, you can check whether the new instructions work for Windows:

# (Unix)
swiftc -D RELEASE -Ounchecked MRSimulationDecoder.swift && ./MRSimulationDecoder "$FILE" && rm ./MRSimulationDecoder

# (Windows)
swiftc -D RELEASE -Ounchecked MRSimulationDecoder.swift
MRSimulationDecoder.exe "$FILE.mrsim-txt"