diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2021-01-14 16:19:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 20:19:41 +0100 |
commit | 41965880ce095da09a1f7e781a0c79e436432401 (patch) | |
tree | 8607f0b064b7e81b3b2fcdab1d255f6128cb8bae /tools | |
parent | a90f7a66edd393f04f12fb2f53ef2a6de553cf6b (diff) | |
download | Nim-41965880ce095da09a1f7e781a0c79e436432401.tar.gz |
Add js BigInts (#16409)
* Add BigInts * Renames tos plurals * Improve Stringifications * Update changelog.md Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * RunnableExamplerize * discard the discardable pragma * Several improvements from peer reviews, more docs * More doc, more test * More doc, more test * Better error message 'Error: usage of low is an {.error.} defined at jsbigints.nim' instead of just 'type mismatch JsBigInt' * is an overload, rename * proc to scare kids away * Update lib/js/jsbigints.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * https://github.com/nim-lang/Nim/pull/16409#discussion_r554365041 Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kochdocs.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim index f258087e7..6fa64c73b 100644 --- a/tools/kochdocs.nim +++ b/tools/kochdocs.nim @@ -14,8 +14,11 @@ const webUploadOutput = "web/upload" var nimExe*: string +const allowList = ["jsbigints.nim"] -template isJsOnly(file: string): bool = file.isRelativeTo("lib/js") +template isJsOnly(file: string): bool = + file.isRelativeTo("lib/js") or + file.extractFilename in allowList proc exe*(f: string): string = result = addFileExt(f, ExeExt) |