Jake Leahy d00477dffb Check file exists in `{.compile.}` pragma (#21105) il y a 2 ans
..
ic a104aa4714 IC: fix typo in rodfiles.nim (#20989) il y a 2 ans
nimfix 4c46358db1 remove shallowCopy for ARC/ORC (#20070) il y a 2 ans
plugins 25c6491b65 fixes #20162; locals doesn't work with ORC [backport] (#20163) il y a 2 ans
aliasanalysis.nim 3d692d08f7 fixes a long-standing ARC bug (#20849) il y a 2 ans
aliases.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) il y a 2 ans
ast.nim 9a50033d5b generic `define` pragma + string alias (#20979) il y a 2 ans
astalgo.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) il y a 3 ans
bitsets.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
btrees.nim 4c46358db1 remove shallowCopy for ARC/ORC (#20070) il y a 2 ans
ccgcalls.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) il y a 2 ans
ccgexprs.nim 07be1791ba fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056) il y a 2 ans
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) il y a 2 ans
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) il y a 2 ans
ccgreset.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgstmts.nim 7d15fdd375 implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) (#20781) il y a 2 ans
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgtrav.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgtypes.nim a70d3abd37 replace data init function with consts for typeinfov2 (#20977) il y a 2 ans
ccgutils.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
cgen.nim fc37554795 NimMain/NimPreMain calls are now only volatile when it makes sense. (#20882) il y a 2 ans
cgendata.nim a7133e0594 removed unused sections in codegen (#20976) il y a 2 ans
cgmeth.nim f8b5464f31 fix dispatcher call type [backport] (#20696) il y a 2 ans
closureiters.nim a0653ae71a fix closure iter state table init type [backport] (#20717) il y a 2 ans
cmdlinehelper.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) il y a 2 ans
commands.nim 5658e8e5c5 Add `--genCDeps` for better integration with CMake (#20950) il y a 2 ans
concepts.nim 3eef0491a8 fix a few "broken link" warnings (#20837) il y a 2 ans
condsyms.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
debuginfo.nim 9c47bb9cc0 happy new year il y a 8 ans
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) il y a 2 ans
depends.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
dfa.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
docgen.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
docgen2.nim de9cbf6af1 Fix auto links to subheader when TOC is present (#20279) il y a 2 ans
enumtostr.nim 08ae3467b9 refactorings (#20536) il y a 2 ans
errorhandling.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
evalffi.nim e8657c7107 make implicit cstring conversions explicit (#19488) il y a 2 ans
evaltempl.nim 2cca38d33c pragma for sfCallsite instead of name check + better semantics, test (#20464) il y a 2 ans
extccomp.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
filter_tmpl.nim 8bdb985395 fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895) il y a 3 ans
filters.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) il y a 5 ans
gorgeimpl.nim fa60378a7f Return error message in output of gorge/staticExec. (#18942) il y a 2 ans
guards.nim 0faae4d5e2 fixes a strict case object problem that has been reported on the forum (#20614) il y a 2 ans
hlo.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
idents.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
importer.nim 5a995ffc53 fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687) il y a 2 ans
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) il y a 4 ans
injectdestructors.nim c47d5196be Dont produce initing moves for sfNoInit variables in closure env (#21026) il y a 2 ans
installer.ini 1699ba1c93 fixes nightlies build regression (#20322) il y a 2 ans
int128.nim 46eac22172 Improve dollar int (#20737) il y a 2 ans
isolation_check.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
jsgen.nim 7ae7832f76 JS backend properly extends string with `setLen` (#21087) il y a 2 ans
jstypes.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
lambdalifting.nim 66cbcaab84 fix #20152 Illegal capture of closure iterator, when should be legal (#20607) il y a 2 ans
layouter.nim a15872ba9e refactor strongSpaceB with an enum (#20809) il y a 2 ans
lexer.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) il y a 2 ans
liftdestructors.nim 8dcf367e52 Prevent use-after-free bugs in object variants. Fixes bug #20305 (#20300) [backport] il y a 2 ans
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) il y a 3 ans
lineinfos.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
linter.nim 70c25c45d6 fixes #20397; fixes stylecheck regression (#20398) il y a 2 ans
llstream.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
lookups.nim 5917c2d5b7 fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) il y a 2 ans
lowerings.nim 424e87fd09 Fixed noinit pragma for closure variables (#20101) il y a 2 ans
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) il y a 4 ans
magicsys.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) il y a 3 ans
main.nim 5658e8e5c5 Add `--genCDeps` for better integration with CMake (#20950) il y a 2 ans
md5_old.nim a95399143f Use openarray of bytes in md5 (#19307) il y a 2 ans
modulegraphs.nim 081dfea746 Fix "imported but not used" warnings (#20575) il y a 2 ans
modulepaths.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) il y a 2 ans
modules.nim 081dfea746 Fix "imported but not used" warnings (#20575) il y a 2 ans
msgs.nim 10e7f18d01 remove compiler/strutils2.nim (#20748) il y a 2 ans
ndi.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nilcheck.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
nim.cfg 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
nim.nim 0d23419e68 DAA and 'out' parameters (#20506) il y a 2 ans
nimblecmd.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nimconf.nim 82319ef00d fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641) il y a 2 ans
nimeval.nim f0af4a36b9 Added setGlobalValue to VM api (#19007) il y a 3 ans
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) il y a 2 ans
nimsets.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nodejs.nim 0ae2d1ea88 Improve error message when NodeJS is not installed and 'nim js -r' is run (#18978) il y a 3 ans
nversion.nim 39290cf88c Fix spellings (#12277) [backport] il y a 5 ans
optimizer.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
options.nim 584cfa6af8 remove implicitDeref feature enum (#21075) il y a 2 ans
packagehandling.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) il y a 2 ans
packages.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
parampatterns.nim 8d47bf1822 new move analyser2 (#20471) il y a 2 ans
parser.nim 0a1d4ba842 fix issue #20922 by handling missing expr in `exprList` for `tkOf` (#20930) il y a 2 ans
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) il y a 2 ans
passes.nim 081dfea746 Fix "imported but not used" warnings (#20575) il y a 2 ans
pathutils.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
patterns.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
platform.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
pluginsupport.nim a325692fb2 refactoring: fewer global variables il y a 6 ans
pragmas.nim d00477dffb Check file exists in `{.compile.}` pragma (#21105) il y a 2 ans
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) il y a 4 ans
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) il y a 4 ans
readme.md 14f76f721d refactor: renamed readme to readme.md (#14283) il y a 4 ans
renderer.nim d88f46df38 Make async stacktraces less verbose (#21091) il y a 2 ans
renderverbatim.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
reorder.nim f4553af343 Fix compiler build with -d:nimDebugReorder (#20888) il y a 2 ans
rodutils.nim b6bfe38ff5 move formatfloat out of system (#20195) il y a 2 ans
ropes.nim 081dfea746 Fix "imported but not used" warnings (#20575) il y a 2 ans
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) il y a 4 ans
scriptconfig.nim 852cf596ed fixes a strange issue most likely caused by a git merge (#20822) il y a 2 ans
sem.nim 5917c2d5b7 fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) il y a 2 ans
semcall.nim 555c5ed1a7 fix bugs with dot & call operators [backport] (#20931) il y a 2 ans
semdata.nim 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) il y a 2 ans
semexprs.nim 8054be6e52 fix #20588 (#21104) il y a 2 ans
semfields.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) il y a 2 ans
semfold.nim 9a50033d5b generic `define` pragma + string alias (#20979) il y a 2 ans
semgnrc.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
seminst.nim a302b26e0e fix #19882 Improve error message when instantiating generics that lac… (#20356) il y a 2 ans
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) il y a 2 ans
semmagic.nim 7f2ff909d9 fixes object default fields bugs and add tests (#20839) il y a 2 ans
semobjconstr.nim 1707bc4a99 fixes #20856; store defaults directly (#20859) il y a 2 ans
semparallel.nim 3d5edb41be fixes #20958; fixes the return type of slice function [backport] (#20959) il y a 2 ans
sempass2.nim 4388636010 fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement (#21081) il y a 2 ans
semstmts.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) il y a 2 ans
semtempl.nim 6d8cf25bd7 deprecate `do:` meaning `do ():` + misc cleanup (#20927) il y a 2 ans
semtypes.nim 5917c2d5b7 fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) il y a 2 ans
semtypinst.nim 2564b5c938 Fix #20416. Enable the recursion limit for ref/ptr types. (#21092) il y a 2 ans
sighashes.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) il y a 2 ans
sigmatch.nim b2c7019006 definite assignment analysis for let (#21024) il y a 2 ans
sinkparameter_inference.nim 2ebd71bfd4 tiny refactoring related to sink parameter inference logic (#21064) il y a 2 ans
sizealignoffsetimpl.nim b57a9637e8 fixes #20914; fixes the alignment of big sets (#20918) il y a 2 ans
sourcemap.nim 1fefb8e92a Refactor JS sourcemap generator (#21053) il y a 2 ans
spawn.nim 83dabb69ae Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] il y a 2 ans
suggest.nim 7c2aa53e44 fixes #19278; make `privateAccess` work with generic ref object (#20640) il y a 2 ans
syntaxes.nim 42ac50e988 fixes #19662; Indent level errored for first line (#19718) il y a 2 ans
tccgen.nim e8657c7107 make implicit cstring conversions explicit (#19488) il y a 2 ans
transf.nim ef190f349d remove duplicate assignment (#21050) il y a 2 ans
trees.nim 2e4b6b94e6 Revert "fix #16185 (#16195)" (#16197) il y a 4 ans
treetab.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
typeallowed.nim 3eef0491a8 fix a few "broken link" warnings (#20837) il y a 2 ans
types.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
typesrenderer.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
varpartitions.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
vm.nim 0ead94c4eb add more `{.cursor.}` to vm (#20796) il y a 2 ans
vmconv.nim 07be1791ba fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056) il y a 2 ans
vmdef.nim 4aa67ad7fd Implemented `mSlice` on the VM allowing `toOpenArray` to work at compile time. (#20586) il y a 2 ans
vmdeps.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
vmgen.nim a228e331f3 fixes regression #17121; adding doc comment in importc proc makes it silently noop at CT (#20766) il y a 2 ans
vmhooks.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
vmmarshal.nim b6bfe38ff5 move formatfloat out of system (#20195) il y a 2 ans
vmops.nim 07be1791ba fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056) il y a 2 ans
vmprofiler.nim f92d2eaa35 cleanup of PR #14833 (VM profiler) il y a 4 ans
wordrecg.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) il y a 2 ans

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.