Nikolay Nikolov 19fdbfc173 Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) (#23447) пре 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) пре 4 година
ccgcalls.nim 1cdce314a7 fixes #20422; emit nimPrepareStrMutationV2 for toOpenArray to keep th… (#21459) пре 2 година
ccgexprs.nim ac1dc03258 fixes regression #23280; Operations on inline toOpenArray len return a wrong result (#23285) пре 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) пре 4 година
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 d08bba579d [Backport 1.6] Itanium mangling scheme #23301 (#23302) пре 1 година
ccgutils.nim d08bba579d [Backport 1.6] Itanium mangling scheme #23301 (#23302) пре 1 година
cgen.nim 50173ec7ec prevent spamming of thread local forward declarations in C/C++ output (#21955) пре 1 година
cgendata.nim d08bba579d [Backport 1.6] Itanium mangling scheme #23301 (#23302) пре 1 година
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) пре 3 година
commands.nim 892b1f7583 Fix #16937; --clib option pass library name to backend C compiler correctly (#19754) пре 2 година
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) пре 2 година
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) пре 2 година
docgen.nim 4ea0ce9149 fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) пре 2 година
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) пре 4 година
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) пре 2 година
int128.nim a9b62de895 CIs: attempt to use csources_v1 (#16282) пре 4 година
isolation_check.nim f85e09633d fixes #19013 [backport:1.6] (#19111) пре 3 година
jsgen.nim 037f87d904 top-down type inference, implements rfc 149 (#20091) пре 2 година
jstypes.nim 6a5973882b jsgen improve spacing (#18048) пре 4 година
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) пре 2 година
liftdestructors.nim 249551dbfa bring #21802 back; fixes #21753 [backport] (#21815) пре 1 година
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) пре 4 година
lineinfos.nim 2072eebcea fixes #21731; fixes #21537; disable `warnBareExcept` by default [backport] (#21728) пре 2 година
linter.nim 6c5d4946e4 Fix some `styleCheck` bugs (#20095) пре 1 година
llstream.nim 507873be25 Use readable escape sequences (#17241) пре 4 година
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) пре 4 година
main.nim b741f3cbd3 fix nim check nimscript [backport: 1.6] (#19444) пре 3 година
modulegraphs.nim a77ca1a4bf Inlay hints backport to Nim v1.6.x (#22920) пре 1 година
modulepaths.nim 7912685905 fixes #23148; restricts infix path concatenation to what starts with `/` (#23150) пре 1 година
modules.nim fd76c00479 Refactor and doc package handling, module name mangling (#19821) пре 2 година
msgs.nim afced7d9ab [Backport 1.6] When NimScript errors prevents NimSuggest from Init (#23348) пре 1 година
ndi.nim d3020af44d fix open file leak when running --debugger:native (#13832) пре 5 година
nilcheck.nim a9b62de895 CIs: attempt to use csources_v1 (#16282) пре 4 година
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) пре 3 година
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) пре 4 година
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) пре 4 година
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) пре 2 година
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] пре 2 година
patterns.nim 56bd5cbb87 fix a typo (canonilization => canonicalization) (#18914) пре 3 година
platform.nim 1dc47696c0 Add Zephyr Support (#19003) пре 3 година
pluginsupport.nim a325692fb2 refactoring: fewer global variables пре 7 година
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) пре 5 година
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) пре 4 година
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 246267aa52 Exclude block from endsInNoReturn, fix regression (#22632) пре 1 година
semcall.nim 106cde1ff8 unify explicit generic param semchecking in calls (#22618) пре 1 година
semdata.nim ae83058be2 implements #21620: allowing to import multiple modules with shared names (#21628) пре 1 година
semexprs.nim e6ee956845 fixes #22753; Nimsuggest segfault with invalid assignment to table (#22781) (#23314) пре 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) пре 2 година
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) пре 2 година
semmagic.nim e6ee956845 fixes #22753; Nimsuggest segfault with invalid assignment to table (#22781) (#23314) пре 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) пре 2 година
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) пре 2 година
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) пре 2 година
sourcemap.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) пре 4 година
spawn.nim 92457cbc39 Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] пре 3 година
strutils2.nim bbe49a14ae Correct all eggs (#15906) пре 4 година
suggest.nim e8fe9275b5 + show the inferred exception list (as part of the type) for functions that don't have an explicit `.raises` pragma (#23193) (#23213) пре 1 година
syntaxes.nim 5c9c1988f6 -d:nimDebug: calls doAssert false instead of quit (#17739) пре 4 година
tccgen.nim 93cd98dd14 move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850) пре 5 година
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) пре 4 година
typeallowed.nim a058dcaf5f fixes #21674; `lent` can be used in the fields or the cast type as a parameter (#21684) пре 1 година
types.nim 19fdbfc173 Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) (#23447) пре 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) пре 2 година
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) пре 4 година
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.