move io out of system (#19442)

* move io out of system

* fix tests

* fix tests

* next step

* rename to syncio

* rename

* fix nimscript

* comma

* fix

* fix parts of errors

* good for now

* fix test
This commit is contained in:
flywind
2022-02-03 00:10:11 +08:00
committed by GitHub
parent 486cb09ec2
commit 891329cd4b
24 changed files with 92 additions and 42 deletions

View File

@@ -5,6 +5,9 @@ discard """
import sequtils, strutils
when defined(nimPreviewSlimSystem):
import std/syncio
let rules = toSeq(lines("input"))
.mapIt(it.split(" => ").mapIt(it.replace("/", "")))