Nikolay Nikolov 9a87057f0b Skip trailing asterisk when placing inlay type hints. Fixes #23067 (backport of #23068) (#23071) преди 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 4fc535fbd6 fixes #17197; fixes #22560; fixes the dest of newSeqOfCap in refc (#22594) преди 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 249551dbfa bring #21802 back; fixes #21753 [backport] (#21815) преди 1 година
ccgutils.nim ed126794b6 Fix #17412 (#17560) преди 4 години
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) преди 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 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) преди 2 години
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 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) преди 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 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) преди 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 9a87057f0b Skip trailing asterisk when placing inlay type hints. Fixes #23067 (backport of #23068) (#23071) преди 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 efd5ed7328 backport to version 1.6: Also show the `raises` pragma when converting proc types to string (#23026) (#23029) преди 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.