bootstrap the compiler with nimPreviewSlimSystem (#20176)
* bootstrap the compiler with nimPreviewSlimSystem * threads
This commit is contained in:
parent
cddd4de658
commit
e8ae2dc90b
19 changed files with 68 additions and 1 deletions
|
|
@ -15,6 +15,10 @@
|
|||
|
||||
import rstast
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/[assertions, syncio]
|
||||
|
||||
|
||||
type
|
||||
LangSymbol* = object ## symbol signature in Nim
|
||||
symKind*: string ## "proc", "const", "type", etc
|
||||
|
|
|
|||
|
|
@ -59,6 +59,10 @@ import
|
|||
strutils
|
||||
from algorithm import binarySearch
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
type
|
||||
SourceLanguage* = enum
|
||||
langNone, langNim, langCpp, langCsharp, langC, langJava,
|
||||
|
|
|
|||
|
|
@ -238,6 +238,10 @@ import
|
|||
std/private/miscdollars, tables, strscans
|
||||
from highlite import SourceLanguage, getSourceLanguage
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/[assertions, syncio]
|
||||
|
||||
|
||||
type
|
||||
RstParseOption* = enum ## options for the RST parser
|
||||
roSupportSmilies, ## make the RST parser support smilies like ``:)``
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
|
||||
import strutils, json
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
type
|
||||
RstNodeKind* = enum ## the possible node kinds of an PRstNode
|
||||
rnInner, # an inner node or a root
|
||||
|
|
|
|||
|
|
@ -42,6 +42,11 @@
|
|||
import strutils, os, hashes, strtabs, rstast, rst, highlite, tables, sequtils,
|
||||
algorithm, parseutils, std/strbasics
|
||||
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/[assertions, syncio]
|
||||
|
||||
|
||||
import ../../std/private/since
|
||||
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue