ringabout 150dd7c4d1 Revert "fix #12122 (#21096)" 2 years ago
..
ic a104aa4714 IC: fix typo in rodfiles.nim (#20989) 2 years ago
nimfix 4c46358db1 remove shallowCopy for ARC/ORC (#20070) 2 years ago
plugins 25c6491b65 fixes #20162; locals doesn't work with ORC [backport] (#20163) 2 years ago
aliasanalysis.nim 3d692d08f7 fixes a long-standing ARC bug (#20849) 2 years ago
aliases.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 years ago
ast.nim 9a50033d5b generic `define` pragma + string alias (#20979) 2 years ago
astalgo.nim 150dd7c4d1 Revert "fix #12122 (#21096)" 2 years ago
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 3 years ago
bitsets.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
btrees.nim 4c46358db1 remove shallowCopy for ARC/ORC (#20070) 2 years ago
ccgcalls.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 years ago
ccgexprs.nim 7a74c2dc3a fix #14667 (#21190) 2 years ago
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) 2 years ago
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) 2 years ago
ccgreset.nim ca1f3f36b9 no ropes WIP (#20433) 2 years ago
ccgstmts.nim 7d15fdd375 implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) (#20781) 2 years ago
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 years ago
ccgtrav.nim ca1f3f36b9 no ropes WIP (#20433) 2 years ago
ccgtypes.nim 13251c2ac9 fix #12946 Bad C++ codegen on distinct generics C++ types (#21157) 2 years ago
ccgutils.nim 93b59da490 fixes #20244; fixes castSizes warnings (#21102) 2 years ago
cgen.nim f7c203fb6c remove legacy code (#21134) 2 years ago
cgendata.nim 7a74c2dc3a fix #14667 (#21190) 2 years ago
cgmeth.nim f8b5464f31 fix dispatcher call type [backport] (#20696) 2 years ago
closureiters.nim a0653ae71a fix closure iter state table init type [backport] (#20717) 2 years 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) 2 years ago
concepts.nim 3eef0491a8 fix a few "broken link" warnings (#20837) 2 years ago
condsyms.nim f7c203fb6c remove legacy code (#21134) 2 years ago
debuginfo.nim 9c47bb9cc0 happy new year 8 years ago
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 years ago
depends.nim f7c203fb6c remove legacy code (#21134) 2 years ago
dfa.nim 81087c949f fixes #20572 (#20585) 2 years ago
docgen.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) 2 years ago
docgen2.nim de9cbf6af1 Fix auto links to subheader when TOC is present (#20279) 2 years ago
enumtostr.nim 08ae3467b9 refactorings (#20536) 2 years ago
errorhandling.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
evalffi.nim 150dd7c4d1 Revert "fix #12122 (#21096)" 2 years ago
evaltempl.nim 2cca38d33c pragma for sfCallsite instead of name check + better semantics, test (#20464) 2 years ago
extccomp.nim 9efa56a8bb [backport: 2.0] prevents the jsonscript command from exceeding the maximum length of a command line during linking (#21186) 2 years ago
filter_tmpl.nim 8bdb985395 fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895) 3 years ago
filters.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) 5 years ago
gorgeimpl.nim fa60378a7f Return error message in output of gorge/staticExec. (#18942) 2 years ago
guards.nim 0faae4d5e2 fixes a strict case object problem that has been reported on the forum (#20614) 2 years ago
hlo.nim 81087c949f fixes #20572 (#20585) 2 years 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 c47d5196be Dont produce initing moves for sfNoInit variables in closure env (#21026) 2 years ago
installer.ini 1699ba1c93 fixes nightlies build regression (#20322) 2 years ago
int128.nim 46eac22172 Improve dollar int (#20737) 2 years ago
isolation_check.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
jsgen.nim 7ae7832f76 JS backend properly extends string with `setLen` (#21087) 2 years ago
jstypes.nim ca1f3f36b9 no ropes WIP (#20433) 2 years ago
lambdalifting.nim 66cbcaab84 fix #20152 Illegal capture of closure iterator, when should be legal (#20607) 2 years ago
layouter.nim a15872ba9e refactor strongSpaceB with an enum (#20809) 2 years ago
lexer.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) 2 years ago
liftdestructors.nim 4b63ac4b87 fixes #21171; dynamic acyclic refs need to use dyn decRef (#21184) 2 years ago
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) 3 years ago
lineinfos.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) 2 years ago
linter.nim 70c25c45d6 fixes #20397; fixes stylecheck regression (#20398) 2 years ago
llstream.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
lookups.nim 18c115c8d0 Don't repeat suggestions for same symbol (#21140) 2 years ago
lowerings.nim 424e87fd09 Fixed noinit pragma for closure variables (#20101) 2 years ago
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 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) 2 years 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) 2 years 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) 2 years ago
msgs.nim 70fe360456 Use `ErrorColor` when a warning that is turned into an error is raised (#21131) 2 years ago
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
nilcheck.nim 81087c949f fixes #20572 (#20585) 2 years ago
nim.cfg 93b59da490 fixes #20244; fixes castSizes warnings (#21102) 2 years ago
nim.nim 0d23419e68 DAA and 'out' parameters (#20506) 2 years 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) 3 years ago
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 years 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) 3 years ago
nversion.nim 39290cf88c Fix spellings (#12277) [backport] 5 years ago
optimizer.nim 81087c949f fixes #20572 (#20585) 2 years ago
options.nim 761c5a0830 less verbose type mismatch messages (#21191) 2 years 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) 2 years ago
parampatterns.nim 8d47bf1822 new move analyser2 (#20471) 2 years ago
parser.nim 9b4516fbcb fix in msg `doAssert()` to update grammar.txt (#21179) 2 years ago
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 years ago
passes.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 years ago
pathutils.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
patterns.nim 81087c949f fixes #20572 (#20585) 2 years 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 d00477dffb Check file exists in `{.compile.}` pragma (#21105) 2 years ago
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) 4 years ago
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) 4 years ago
readme.md 14f76f721d refactor: renamed readme to readme.md (#14283) 4 years ago
renderer.nim f7c203fb6c remove legacy code (#21134) 2 years ago
renderverbatim.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) 2 years ago
reorder.nim f4553af343 Fix compiler build with -d:nimDebugReorder (#20888) 2 years ago
rodutils.nim b6bfe38ff5 move formatfloat out of system (#20195) 2 years ago
ropes.nim 081dfea746 Fix "imported but not used" warnings (#20575) 2 years ago
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 4 years ago
scriptconfig.nim 852cf596ed fixes a strange issue most likely caused by a git merge (#20822) 2 years ago
sem.nim f7c203fb6c remove legacy code (#21134) 2 years ago
semcall.nim 761c5a0830 less verbose type mismatch messages (#21191) 2 years ago
semdata.nim 2449c37137 better procvar ambiguity errors, clean up after #20457 (#20932) 2 years ago
semexprs.nim e278a781fc fix #21109 (#21127) 2 years ago
semfields.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) 2 years ago
semfold.nim 5684093135 fix for bad error message with const in case statement (#21182) 2 years ago
semgnrc.nim 81087c949f fixes #20572 (#20585) 2 years ago
seminst.nim a302b26e0e fix #19882 Improve error message when instantiating generics that lac… (#20356) 2 years ago
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) 2 years ago
semmagic.nim 7f2ff909d9 fixes object default fields bugs and add tests (#20839) 2 years ago
semobjconstr.nim 1707bc4a99 fixes #20856; store defaults directly (#20859) 2 years ago
semparallel.nim 3d5edb41be fixes #20958; fixes the return type of slice function [backport] (#20959) 2 years ago
sempass2.nim 4388636010 fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement (#21081) 2 years ago
semstmts.nim 9323cb7b2a enforce void for nkWhileStmt [backport: 2.0] (#21170) 2 years ago
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 2 years ago
semtempl.nim 6d8cf25bd7 deprecate `do:` meaning `do ():` + misc cleanup (#20927) 2 years ago
semtypes.nim 40b5c4c4c3 fix #20248;fix #6215;turns into simple CT error (#21141) 2 years ago
semtypinst.nim 2564b5c938 Fix #20416. Enable the recursion limit for ref/ptr types. (#21092) 2 years ago
sighashes.nim 06cd15663d fixes ptr to cstring warnings[backport] (#20848) 2 years ago
sigmatch.nim 761c5a0830 less verbose type mismatch messages (#21191) 2 years ago
sinkparameter_inference.nim 2ebd71bfd4 tiny refactoring related to sink parameter inference logic (#21064) 2 years ago
sizealignoffsetimpl.nim b57a9637e8 fixes #20914; fixes the alignment of big sets (#20918) 2 years ago
sourcemap.nim 1fefb8e92a Refactor JS sourcemap generator (#21053) 2 years ago
spawn.nim 83dabb69ae Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] 2 years ago
suggest.nim 18c115c8d0 Don't repeat suggestions for same symbol (#21140) 2 years 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) 2 years ago
transf.nim ef190f349d remove duplicate assignment (#21050) 2 years ago
trees.nim 2e4b6b94e6 Revert "fix #16185 (#16195)" (#16197) 4 years ago
treetab.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
typeallowed.nim 3eef0491a8 fix a few "broken link" warnings (#20837) 2 years ago
types.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) 2 years ago
typesrenderer.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) 2 years ago
varpartitions.nim 81087c949f fixes #20572 (#20585) 2 years ago
vm.nim f7c203fb6c remove legacy code (#21134) 2 years ago
vmconv.nim 07be1791ba fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056) 2 years ago
vmdef.nim 613829f7a4 Implement setLineInfo (#21153) 2 years ago
vmdeps.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
vmgen.nim 613829f7a4 Implement setLineInfo (#21153) 2 years ago
vmhooks.nim 7f6e800caf move assertions out of system (#19599) 2 years ago
vmmarshal.nim b6bfe38ff5 move formatfloat out of system (#20195) 2 years ago
vmops.nim f7c203fb6c remove legacy code (#21134) 2 years ago
vmprofiler.nim f92d2eaa35 cleanup of PR #14833 (VM profiler) 4 years ago
wordrecg.nim 0448f30fd9 fixes #20026; marks system procs which can raise defects (#20864) 2 years 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.