metagn 7a37819eb9 fix generic param substitution in templates (#22535) 1 سال پیش
..
ic 831fed1c01 Don't require blank line before Markdown code (1.6) (#20216) 2 سال پیش
nimfix b74b914e4f [backport] use old style hints in .cfg files (#18917) 3 سال پیش
plugins a9485f19a5 fixes #20162; locals doesn't work with ORC [backport] (#20163) 2 سال پیش
aliases.nim 1db21721ec Fixed objects being erroneously zeroed out before object construction (#12814) [backport] 5 سال پیش
ast.nim a77ca1a4bf Inlay hints backport to Nim v1.6.x (#22920) 1 سال پیش
astalgo.nim 3b3006ef16 add comment to astalgo.debug (#18594) 3 سال پیش
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 3 سال پیش
bitsets.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) 5 سال پیش
btrees.nim 3bc625aff1 ORC: progress (#18000) 3 سال پیش
ccgcalls.nim 1cdce314a7 fixes #20422; emit nimPrepareStrMutationV2 for toOpenArray to keep th… (#21459) 1 سال پیش
ccgexprs.nim 2317f49c31 fixes #22175 (#22229) 1 سال پیش
ccgliterals.nim b68eb1cad0 Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190) 5 سال پیش
ccgmerge_unused.nim 6c1c8f51b3 IC: green tests (#17311) 3 سال پیش
ccgreset.nim aae2356b91 fixes #19967; reset does not work on set [backport: 1.2] (#19968) 2 سال پیش
ccgstmts.nim db88ef35dd fixes #14444; add `genLineDir` before assignment (#21201) 1 سال پیش
ccgthreadvars.nim e112974920 fix #16752: threadvar now works with importcpp types; osx now uses native TLS (`--tlsEmulation:off`), which can be orders of magnitude faster (#16750) 4 سال پیش
ccgtrav.nim fd31e8ff6f allow old styled RTTI for arc/orc (#15331) 4 سال پیش
ccgtypes.nim 249551dbfa bring #21802 back; fixes #21753 [backport] (#21815) 1 سال پیش
ccgutils.nim ed126794b6 Fix #17412 (#17560) 3 سال پیش
cgen.nim 50173ec7ec prevent spamming of thread local forward declarations in C/C++ output (#21955) 1 سال پیش
cgendata.nim 2aa97a228a Removes deprecated {.injectStmt.}. Fixes #18666 (#18984) 3 سال پیش
cgmeth.nim 565cd4dd25 fix dispatcher call type [backport] (#20696) 2 سال پیش
closureiters.nim ba2d8ba468 fixes #22297; return in the finally in the closure iterators (#22300) 1 سال پیش
cmdlinehelper.nim 5e13d577ac undefine C symbols in JS backend [backport:1.6] (#19437) 2 سال پیش
commands.nim 892b1f7583 Fix #16937; --clib option pass library name to backend C compiler correctly (#19754) 1 سال پیش
concepts.nim ac5435ecd0 Make error message for empty new-styled concept more descriptive (#18506) 3 سال پیش
condsyms.nim 037f87d904 top-down type inference, implements rfc 149 (#20091) 1 سال پیش
debuginfo.nim 9c47bb9cc0 happy new year 8 سال پیش
debugutils.nim 87cd9b24a3 add more APIs to compiler/debugutils; re-export it (#18243) 3 سال پیش
depends.nim e7fc94e130 gendepends now supports pkgs2 (#22277) 1 سال پیش
dfa.nim ea69f04cc7 compiler: Handle nkCheckedFieldExpr better in dfa (#19616) 1 سال پیش
docgen.nim 4ea0ce9149 fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) 1 سال پیش
docgen2.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
enumtostr.nim 73a8b950cb big steps torwards an efficient, simple IC implementation (#16543) 4 سال پیش
errorhandling.nim a31e601550 misc fixes: build_all.sh, changelog (#17601) 3 سال پیش
evalffi.nim c484943cab Change `styleCheck` to ignore foreign packages (#19822) 2 سال پیش
evaltempl.nim 0de3d4292f fix #16993, #18054, #17835 runnableExamples now works with templates and nested templates (#18082) 3 سال پیش
extccomp.nim 0ac3461c7d Fix #22281 (#22289) 1 سال پیش
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 982086dbe9 Fixed #12337, leaking pipe after gorge (#12339) 5 سال پیش
guards.nim cdf9ac675b this ensures libp2p continues to compile [backport] (#18908) 3 سال پیش
hlo.nim 226595515c explicit ID generation for easier IC (#15559) 4 سال پیش
idents.nim 796498525a IC: next steps (#16550) 4 سال پیش
importer.nim 01ef1e1500 fixes #22208; Ambiguous error when import modules with same names but… (#22211) 1 سال پیش
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 سال پیش
injectdestructors.nim 47010a3919 fixes #22874; backport #22088 to version-1-6 1 سال پیش
installer.ini f9b95d1cb4 Rename the package from compiler -> nim (#21369) 1 سال پیش
int128.nim a9b62de895 CIs: attempt to use csources_v1 (#16282) 3 سال پیش
isolation_check.nim f85e09633d fixes #19013 [backport:1.6] (#19111) 3 سال پیش
jsgen.nim 037f87d904 top-down type inference, implements rfc 149 (#20091) 1 سال پیش
jstypes.nim 6a5973882b jsgen improve spacing (#18048) 3 سال پیش
lambdalifting.nim 69faab3cf6 fix #22548;environment misses for type reference in iterator access n… (#22559) 1 سال پیش
layouter.nim c35cb17b13 fixes #20553; don't format code for stropping identifier (#20561) [backport] 2 سال پیش
lexer.nim 17d45dfd6a Implemented basic macro expand functionality (#20579) 1 سال پیش
liftdestructors.nim 249551dbfa bring #21802 back; fixes #21753 [backport] (#21815) 1 سال پیش
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) 3 سال پیش
lineinfos.nim 2072eebcea fixes #21731; fixes #21537; disable `warnBareExcept` by default [backport] (#21728) 1 سال پیش
linter.nim 6c5d4946e4 Fix some `styleCheck` bugs (#20095) 1 سال پیش
llstream.nim 507873be25 Use readable escape sequences (#17241) 3 سال پیش
lookups.nim ecab260330 underscore as special word (#21766) 1 سال پیش
lowerings.nim cd0f805832 cheap fix for #10853 + better tuple subscript error message (#21767) 1 سال پیش
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 سال پیش
magicsys.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 3 سال پیش
main.nim b741f3cbd3 fix nim check nimscript [backport: 1.6] (#19444) 2 سال پیش
modulegraphs.nim a77ca1a4bf Inlay hints backport to Nim v1.6.x (#22920) 1 سال پیش
modulepaths.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
modules.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
msgs.nim b92336ab33 fixes #20149; fixes #16762; hintAsError and warningAsError now ignore foreign packages (#20151) 1 سال پیش
ndi.nim d3020af44d fix open file leak when running --debugger:native (#13832) 4 سال پیش
nilcheck.nim a9b62de895 CIs: attempt to use csources_v1 (#16282) 3 سال پیش
nim.cfg ec13574b19 don't backport the change in compiler/nim.cfg 2 سال پیش
nim.nim 320a820eb4 Implicitly set noNimblePath when nimble.lock is present (#21266) 2 سال پیش
nimblecmd.nim 5e6680406f Add changes required by Nimble lock file support (#12104) 3 سال پیش
nimconf.nim fd2da6da54 fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641) 2 سال پیش
nimeval.nim efa3479e4e reset macrocache after each script evaluation (#22195) 1 سال پیش
nimlexbase.nim 24178bf8aa get rid of the warnings during bootstrapping (#18741) 3 سال پیش
nimpaths.nim a9b62de895 CIs: attempt to use csources_v1 (#16282) 3 سال پیش
nimsets.nim da29222f86 init checks and 'out' parameters (#14521) 4 سال پیش
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 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) 3 سال پیش
options.nim 6f0cad6843 backport to v 1.6: nimsuggest: Added optional command line option '--clientProcessId:XXX' (#22969) (#22982) 1 سال پیش
packagehandling.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
packages.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
parampatterns.nim e09c259bf3 reuse existing toHumanStr (#15674) 4 سال پیش
parser.nim 410254b485 fix issue #20922 by handling missing expr in `exprList` for `tkOf` (#20930) 1 سال پیش
passaux.nim 0483a5ffaf improvements to hint:processing: show import stack, distinguish nims, show includes etc (#18372) 3 سال پیش
passes.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
pathutils.nim 19dd56f018 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] 1 سال پیش
patterns.nim 56bd5cbb87 fix a typo (canonilization => canonicalization) (#18914) 3 سال پیش
platform.nim 1dc47696c0 Add Zephyr Support (#19003) 2 سال پیش
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 سال پیش
pragmas.nim 547f205794 error on user pragma args (#21776) 1 سال پیش
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 b686912622 fix dot calls with resolved symbols in templates (#22076) 1 سال پیش
renderverbatim.nim ae7e7756fe runnableExamples now show originating location in stacktraces on failure (#18457) 3 سال پیش
reorder.nim cce1b24b1c ast: add getPIdent (#17684) 3 سال پیش
rodutils.nim cf0cf32d27 make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531) 3 سال پیش
ropes.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) 5 سال پیش
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 4 سال پیش
scriptconfig.nim d5b5827bc2 fix setCommand so it behaves like regular nim invocation (#18555) 3 سال پیش
sem.nim 7a37819eb9 fix generic param substitution in templates (#22535) 1 سال پیش
semcall.nim 7a37819eb9 fix generic param substitution in templates (#22535) 1 سال پیش
semdata.nim ae83058be2 implements #21620: allowing to import multiple modules with shared names (#21628) 1 سال پیش
semexprs.nim ce8d9dd1cb Fix #22604: Make endsInNoReturn traverse the tree (#22612) 1 سال پیش
semfields.nim 796498525a IC: next steps (#16550) 4 سال پیش
semfold.nim 6274bc35dd fix #19426 compile error using when/elif/else and typedesc in template (#20550) 1 سال پیش
semgnrc.nim 7142078707 fixes #3770; templates with untyped parameters resolve private fields… (#22014) 1 سال پیش
seminst.nim 322fc31041 fixes #22137 (#22170) 1 سال پیش
semmacrosanity.nim 32171fc66d Unpack mSlice tupleconstr for static openarrays (#20615) 1 سال پیش
semmagic.nim 249551dbfa bring #21802 back; fixes #21753 [backport] (#21815) 1 سال پیش
semobjconstr.nim 3601bb81c9 fixes #20900; Calling template through from generic function across module fails to build (#21649) 1 سال پیش
semparallel.nim 57e307f3a8 fixes #20958; fixes the return type of slice function [backport] (#20959) 1 سال پیش
sempass2.nim ecab260330 underscore as special word (#21766) 1 سال پیش
semstmts.nim a77ca1a4bf Inlay hints backport to Nim v1.6.x (#22920) 1 سال پیش
semtempl.nim 8f102f9e62 retain forced open undeclared ident information (#22019) 1 سال پیش
semtypes.nim 2e87171e14 Register declaration of enum field has a use (#22990) 1 سال پیش
semtypinst.nim 5ad4b72ac7 Fix #17509: Continue instead of return with unfinished generics (#22563) 1 سال پیش
sighashes.nim 10ca10eb83 fix sighashes for generic ref (#20723) 1 سال پیش
sigmatch.nim d80397c7d7 fixes #22138 (#22221) 1 سال پیش
sinkparameter_inference.nim 73a8b950cb big steps torwards an efficient, simple IC implementation (#16543) 4 سال پیش
sizealignoffsetimpl.nim 037f87d904 top-down type inference, implements rfc 149 (#20091) 1 سال پیش
sourcemap.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 3 سال پیش
spawn.nim 92457cbc39 Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] 2 سال پیش
strutils2.nim bbe49a14ae Correct all eggs (#15906) 4 سال پیش
suggest.nim f3382743dd backport to version 1.6: nimsuggest: Instead of checking for protocol version 3 exactly, check for version 3 or later. (#22945) (#22956) 1 سال پیش
syntaxes.nim 5c9c1988f6 -d:nimDebug: calls doAssert false instead of quit (#17739) 3 سال پیش
tccgen.nim 93cd98dd14 move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850) 4 سال پیش
transf.nim 44708f4b01 fixes #22237; fixes #21160; wrong cursor on unowned parameters in the for loop in ORC (#22240) 1 سال پیش
trees.nim 2e4b6b94e6 Revert "fix #16185 (#16195)" (#16197) 4 سال پیش
treetab.nim 72d6b59ffa treetab: tiny cleanup (#17929) 3 سال پیش
typeallowed.nim a058dcaf5f fixes #21674; `lent` can be used in the fields or the cast type as a parameter (#21684) 1 سال پیش
types.nim a77ca1a4bf Inlay hints backport to Nim v1.6.x (#22920) 1 سال پیش
typesrenderer.nim 13b1b19a83 remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683) 4 سال پیش
varpartitions.nim 037f87d904 top-down type inference, implements rfc 149 (#20091) 1 سال پیش
vm.nim d37901fe06 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 سال پیش
vmconv.nim 4f118721be make system random work in VM (#17059) 3 سال پیش
vmdef.nim d37901fe06 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 سال پیش
vmdeps.nim 897e50d5fe getType now works with tyInferred (arising from concepts); refs #18220 (#18241) 3 سال پیش
vmgen.nim d37901fe06 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 سال پیش
vmhooks.nim cf0cf32d27 make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531) 3 سال پیش
vmmarshal.nim 1247043c90 fix marshal bugs in VM (#19161) [backport:1.6] 3 سال پیش
vmops.nim c484943cab Change `styleCheck` to ignore foreign packages (#19822) 2 سال پیش
vmprofiler.nim f92d2eaa35 cleanup of PR #14833 (VM profiler) 4 سال پیش
wordrecg.nim ecab260330 underscore as special word (#21766) 1 سال پیش

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.