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