metagn 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) 1 年之前
..
ic 3eef0491a8 fix a few "broken link" warnings (#20837) 2 年之前
nimfix 4c46358db1 remove shallowCopy for ARC/ORC (#20070) 2 年之前
plugins 25c6491b65 fixes #20162; locals doesn't work with ORC [backport] (#20163) 2 年之前
aliasanalysis.nim 3d692d08f7 fixes a long-standing ARC bug (#20849) 2 年之前
aliases.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 年之前
ast.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 年之前
astalgo.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 3 年之前
bitsets.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
btrees.nim 4c46358db1 remove shallowCopy for ARC/ORC (#20070) 2 年之前
ccgcalls.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 年之前
ccgexprs.nim 165d523edf Revert "fixes #20699; generate an empty struct for void type" (#20806) 2 年之前
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) 2 年之前
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) 1 年之前
ccgreset.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
ccgstmts.nim 7d15fdd375 implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) (#20781) 2 年之前
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
ccgtrav.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
ccgtypes.nim 165d523edf Revert "fixes #20699; generate an empty struct for void type" (#20806) 2 年之前
ccgutils.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
cgen.nim fc37554795 NimMain/NimPreMain calls are now only volatile when it makes sense. (#20882) 2 年之前
cgendata.nim a7133e0594 removed unused sections in codegen (#20976) 1 年之前
cgmeth.nim f8b5464f31 fix dispatcher call type [backport] (#20696) 2 年之前
closureiters.nim a0653ae71a fix closure iter state table init type [backport] (#20717) 2 年之前
cmdlinehelper.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) 2 年之前
commands.nim 5658e8e5c5 Add `--genCDeps` for better integration with CMake (#20950) 1 年之前
concepts.nim 3eef0491a8 fix a few "broken link" warnings (#20837) 2 年之前
condsyms.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) 2 年之前
debuginfo.nim 9c47bb9cc0 happy new year 7 年之前
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 年之前
depends.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
dfa.nim 81087c949f fixes #20572 (#20585) 2 年之前
docgen.nim 81087c949f fixes #20572 (#20585) 2 年之前
docgen2.nim de9cbf6af1 Fix auto links to subheader when TOC is present (#20279) 2 年之前
enumtostr.nim 08ae3467b9 refactorings (#20536) 2 年之前
errorhandling.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
evalffi.nim e8657c7107 make implicit cstring conversions explicit (#19488) 2 年之前
evaltempl.nim 2cca38d33c pragma for sfCallsite instead of name check + better semantics, test (#20464) 2 年之前
extccomp.nim 92a0f191bf Use vccexe when generating static lib with vcc (#19843) 2 年之前
filter_tmpl.nim 8bdb985395 fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895) 3 年之前
filters.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) 5 年之前
gorgeimpl.nim fa60378a7f Return error message in output of gorge/staticExec. (#18942) 2 年之前
guards.nim 0faae4d5e2 fixes a strict case object problem that has been reported on the forum (#20614) 2 年之前
hlo.nim 81087c949f fixes #20572 (#20585) 2 年之前
idents.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
importer.nim 5a995ffc53 fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687) 2 年之前
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 年之前
injectdestructors.nim fdc8dd4128 Arc global (#20768) 2 年之前
installer.ini 1699ba1c93 fixes nightlies build regression (#20322) 2 年之前
int128.nim 46eac22172 Improve dollar int (#20737) 2 年之前
isolation_check.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
jsgen.nim ecc8f61fe4 Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738) 2 年之前
jstypes.nim ca1f3f36b9 no ropes WIP (#20433) 2 年之前
lambdalifting.nim 66cbcaab84 fix #20152 Illegal capture of closure iterator, when should be legal (#20607) 2 年之前
layouter.nim a15872ba9e refactor strongSpaceB with an enum (#20809) 2 年之前
lexer.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) 2 年之前
liftdestructors.nim 8dcf367e52 Prevent use-after-free bugs in object variants. Fixes bug #20305 (#20300) [backport] 2 年之前
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) 3 年之前
lineinfos.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) 2 年之前
linter.nim 70c25c45d6 fixes #20397; fixes stylecheck regression (#20398) 2 年之前
llstream.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
lookups.nim 2f441ac675 [backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent (#20578) 2 年之前
lowerings.nim 424e87fd09 Fixed noinit pragma for closure variables (#20101) 2 年之前
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 3 年之前
magicsys.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 3 年之前
main.nim 5658e8e5c5 Add `--genCDeps` for better integration with CMake (#20950) 1 年之前
md5_old.nim a95399143f Use openarray of bytes in md5 (#19307) 2 年之前
modulegraphs.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 年之前
modulepaths.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) 2 年之前
modules.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 年之前
msgs.nim 10e7f18d01 remove compiler/strutils2.nim (#20748) 2 年之前
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
nilcheck.nim 81087c949f fixes #20572 (#20585) 2 年之前
nim.cfg 27a38a9fce fix #13790; ptr char (+friends) should not implicitly convert to cstring (#20761) 2 年之前
nim.nim 0d23419e68 DAA and 'out' parameters (#20506) 2 年之前
nimblecmd.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
nimconf.nim 82319ef00d fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641) 2 年之前
nimeval.nim f0af4a36b9 Added setGlobalValue to VM api (#19007) 3 年之前
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 年之前
nimsets.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
nodejs.nim 0ae2d1ea88 Improve error message when NodeJS is not installed and 'nim js -r' is run (#18978) 3 年之前
nversion.nim 39290cf88c Fix spellings (#12277) [backport] 5 年之前
optimizer.nim 81087c949f fixes #20572 (#20585) 2 年之前
options.nim 5658e8e5c5 Add `--genCDeps` for better integration with CMake (#20950) 1 年之前
packagehandling.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) 2 年之前
packages.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) 2 年之前
parampatterns.nim 8d47bf1822 new move analyser2 (#20471) 2 年之前
parser.nim 15d00ca0e1 allow proc expressions in place of statements (#20935) 1 年之前
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 年之前
passes.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 年之前
pathutils.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
patterns.nim 81087c949f fixes #20572 (#20585) 2 年之前
platform.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 年之前
pragmas.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 年之前
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) 4 年之前
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) 4 年之前
readme.md 14f76f721d refactor: renamed readme to readme.md (#14283) 4 年之前
renderer.nim 5adfaa2a92 render post expr blocks better (#20871) 2 年之前
renderverbatim.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) 2 年之前
reorder.nim f4553af343 Fix compiler build with -d:nimDebugReorder (#20888) 2 年之前
rodutils.nim b6bfe38ff5 move formatfloat out of system (#20195) 2 年之前
ropes.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 年之前
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 4 年之前
scriptconfig.nim 852cf596ed fixes a strange issue most likely caused by a git merge (#20822) 2 年之前
sem.nim 7f2ff909d9 fixes object default fields bugs and add tests (#20839) 2 年之前
semcall.nim 555c5ed1a7 fix bugs with dot & call operators [backport] (#20931) 1 年之前
semdata.nim 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) 1 年之前
semexprs.nim 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) 1 年之前
semfields.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) 2 年之前
semfold.nim 04c48e3c5b fix #19426 compile error using when/elif/else and typedesc in template (#20550) 2 年之前
semgnrc.nim 81087c949f fixes #20572 (#20585) 2 年之前
seminst.nim a302b26e0e fix #19882 Improve error message when instantiating generics that lac… (#20356) 2 年之前
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) 2 年之前
semmagic.nim 7f2ff909d9 fixes object default fields bugs and add tests (#20839) 2 年之前
semobjconstr.nim 1707bc4a99 fixes #20856; store defaults directly (#20859) 2 年之前
semparallel.nim 3d5edb41be fixes #20958; fixes the return type of slice function [backport] (#20959) 1 年之前
sempass2.nim 8e1181bde5 issue a warning for ptr to cstring conversion[backport] (#20814) 2 年之前
semstmts.nim 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) 1 年之前
semtempl.nim cb3af8ad39 alternate fix + test for #12094, refs #13804 (#20686) 2 年之前
semtypes.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) 2 年之前
semtypinst.nim be4bd8a0ed Fixes #20348; only respect the recursion limit if the symbol's generic type has been generated by the compiler (#20377) 2 年之前
sighashes.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) 2 年之前
sigmatch.nim 27a38a9fce fix #13790; ptr char (+friends) should not implicitly convert to cstring (#20761) 2 年之前
sinkparameter_inference.nim 73a8b950cb big steps torwards an efficient, simple IC implementation (#16543) 3 年之前
sizealignoffsetimpl.nim b57a9637e8 fixes #20914; fixes the alignment of big sets (#20918) 2 年之前
sourcemap.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 3 年之前
spawn.nim 83dabb69ae Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] 2 年之前
suggest.nim 7c2aa53e44 fixes #19278; make `privateAccess` work with generic ref object (#20640) 2 年之前
syntaxes.nim 42ac50e988 fixes #19662; Indent level errored for first line (#19718) 2 年之前
tccgen.nim e8657c7107 make implicit cstring conversions explicit (#19488) 2 年之前
transf.nim 1707bc4a99 fixes #20856; store defaults directly (#20859) 2 年之前
trees.nim 2e4b6b94e6 Revert "fix #16185 (#16195)" (#16197) 4 年之前
treetab.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
typeallowed.nim 3eef0491a8 fix a few "broken link" warnings (#20837) 2 年之前
types.nim 49e793e8c4 fix #20272 range of uint64 shows signed upper bound (#20702) 2 年之前
typesrenderer.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) 2 年之前
varpartitions.nim 81087c949f fixes #20572 (#20585) 2 年之前
vm.nim 0ead94c4eb add more `{.cursor.}` to vm (#20796) 2 年之前
vmconv.nim 4f118721be make system random work in VM (#17059) 3 年之前
vmdef.nim 4aa67ad7fd Implemented `mSlice` on the VM allowing `toOpenArray` to work at compile time. (#20586) 2 年之前
vmdeps.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
vmgen.nim a228e331f3 fixes regression #17121; adding doc comment in importc proc makes it silently noop at CT (#20766) 2 年之前
vmhooks.nim 7f6e800caf move assertions out of system (#19599) 2 年之前
vmmarshal.nim b6bfe38ff5 move formatfloat out of system (#20195) 2 年之前
vmops.nim 32b145460f createDir is now callable at compile time (#20824) 2 年之前
vmprofiler.nim f92d2eaa35 cleanup of PR #14833 (VM profiler) 4 年之前
wordrecg.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 年之前

readme.md

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.