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

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.