Nim/compiler
ringabout a228e331f3
fixes regression #17121; adding doc comment in importc proc makes it silently noop at CT (#20766)
* fixes regression #17121; adding doc comment in importc proc makes it silently noop at CT

* Update compiler/vmgen.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2022-11-06 22:25:55 +08:00
..
ic 'lock levels' are deprecated, now a noop (#20539) 2022-10-11 09:17:09 +02:00
nimfix remove shallowCopy for ARC/ORC (#20070) 2022-07-26 16:51:01 +02:00
plugins fixes #20162; locals doesn't work with ORC [backport] (#20163) 2022-08-23 09:00:23 +02:00
aliasanalysis.nim new move analyser2 (#20471) 2022-10-01 16:46:51 +02:00
aliases.nim Implement Markdown definition lists (+ migration) (#20333) 2022-09-11 13:52:43 -04:00
ast.nim fixes #20740; fixes pre-existing field visibility issues and removes efSkipFieldVisibilityCheck (#20741) 2022-11-03 15:46:16 +08:00
astalgo.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
astmsgs.nim properly fix #10053 ; FieldDefect msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 2021-08-13 09:35:48 +02:00
bitsets.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
btrees.nim remove shallowCopy for ARC/ORC (#20070) 2022-07-26 16:51:01 +02:00
ccgcalls.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
ccgexprs.nim Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738) 2022-11-04 09:54:45 +01:00
ccgliterals.nim store full definition AST for consts, fix noRewrite (#20115) 2022-09-28 15:05:01 +02:00
ccgmerge_unused.nim IC: green tests (#17311) 2021-03-19 16:53:38 +01:00
ccgreset.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
ccgstmts.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
ccgthreadvars.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
ccgtrav.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
ccgtypes.nim codegen: optimized generation of proc headers (#20770) 2022-11-06 11:46:19 +01:00
ccgutils.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
cgen.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
cgendata.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
cgmeth.nim fix dispatcher call type [backport] (#20696) 2022-10-29 18:12:19 +02:00
closureiters.nim fix closure iter state table init type [backport] (#20717) 2022-10-31 18:41:48 +01:00
cmdlinehelper.nim undefine C symbols in JS backend [backport:1.6] (#19437) 2022-02-04 17:10:24 -05:00
commands.nim fixes #20426; remove maincommand and m options since they are a no op since 2014 (#20429) 2022-09-26 15:40:20 -04:00
concepts.nim Support doc comments in new-styled concepts (#20752) 2022-11-04 20:32:41 +08:00
condsyms.nim DAA and 'out' parameters (#20506) 2022-10-06 17:08:41 +02:00
debuginfo.nim
debugutils.nim Extend and document compiler debugging utilities (#19841) 2022-06-10 20:40:08 +02:00
depends.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
dfa.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
docgen.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
docgen2.nim Fix auto links to subheader when TOC is present (#20279) 2022-08-27 17:28:26 -04:00
enumtostr.nim refactorings (#20536) 2022-10-10 21:40:07 +02:00
errorhandling.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
evalffi.nim make implicit cstring conversions explicit (#19488) 2022-08-19 15:40:53 -04:00
evaltempl.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00
extccomp.nim Use vccexe when generating static lib with vcc (#19843) 2022-09-28 15:07:41 +02:00
filter_tmpl.nim fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895) 2021-09-25 13:22:00 +02:00
filters.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
gorgeimpl.nim Return error message in output of gorge/staticExec. (#18942) 2022-10-12 18:52:22 +02:00
guards.nim fixes a strict case object problem that has been reported on the forum (#20614) 2022-10-21 22:46:32 +02:00
hlo.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
idents.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
importer.nim fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687) 2022-04-06 16:17:09 +02:00
index.nim walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 2020-06-01 19:21:41 +02:00
injectdestructors.nim Arc global (#20768) 2022-11-06 11:47:35 +01:00
installer.ini fixes nightlies build regression (#20322) 2022-09-08 22:30:03 +02:00
int128.nim Improve dollar int (#20737) 2022-11-03 09:44:11 +01:00
isolation_check.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
jsgen.nim Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738) 2022-11-04 09:54:45 +01:00
jstypes.nim no ropes WIP (#20433) 2022-09-27 10:57:47 +02:00
lambdalifting.nim fix #20152 Illegal capture of closure iterator, when should be legal (#20607) 2022-10-21 09:59:05 +02:00
layouter.nim fixes #15688; handle strongSpace overflow issues (#20724) 2022-11-03 09:18:09 +01:00
lexer.nim fixes #15688; handle strongSpace overflow issues (#20724) 2022-11-03 09:18:09 +01:00
liftdestructors.nim Prevent use-after-free bugs in object variants. Fixes bug #20305 (#20300) [backport] 2022-09-05 08:26:02 +02:00
liftlocals.nim fixes #11225; generic sandwich problems; [backport:1.2] (#17255) 2021-03-09 20:19:24 +01:00
lineinfos.nim 'lock levels' are deprecated, now a noop (#20539) 2022-10-11 09:17:09 +02:00
linter.nim fixes #20397; fixes stylecheck regression (#20398) 2022-09-21 15:04:33 -04:00
llstream.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
lookups.nim [backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent (#20578) 2022-10-18 14:56:38 -04:00
lowerings.nim Fixed noinit pragma for closure variables (#20101) 2022-07-28 18:43:41 +08:00
macrocacheimpl.nim IC: next steps (#16632) 2021-01-12 09:36:51 +01:00
magicsys.nim cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 2021-04-17 11:14:09 +02:00
main.nim 'lock levels' are deprecated, now a noop (#20539) 2022-10-11 09:17:09 +02:00
md5_old.nim Use openarray of bytes in md5 (#19307) 2022-01-15 13:19:05 +01:00
modulegraphs.nim Fix "imported but not used" warnings (#20575) 2022-10-16 20:24:16 +02:00
modulepaths.nim Refactor and doc package handling, module name mangling (#19821) 2022-05-30 18:52:19 +02:00
modules.nim Fix "imported but not used" warnings (#20575) 2022-10-16 20:24:16 +02:00
msgs.nim remove compiler/strutils2.nim (#20748) 2022-11-05 12:22:45 +01:00
ndi.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
nilcheck.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
nim.cfg fixes #19162; enable strictEffects for v2 (#19380) 2022-10-15 14:07:40 +02:00
nim.nim DAA and 'out' parameters (#20506) 2022-10-06 17:08:41 +02:00
nimblecmd.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
nimconf.nim fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641) 2022-03-26 11:50:15 +01:00
nimeval.nim Added setGlobalValue to VM api (#19007) 2021-10-17 16:24:43 +02:00
nimlexbase.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
nimpaths.nim Implement Markdown definition lists (+ migration) (#20333) 2022-09-11 13:52:43 -04:00
nimsets.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
nodejs.nim Improve error message when NodeJS is not installed and 'nim js -r' is run (#18978) 2021-10-12 15:41:30 +02:00
nversion.nim Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
optimizer.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
options.nim implemented strictCaseObjects (#20608) 2022-10-21 06:55:52 +02:00
packagehandling.nim Refactor and doc package handling, module name mangling (#19821) 2022-05-30 18:52:19 +02:00
packages.nim bootstrap the compiler with nimPreviewSlimSystem (#20176) 2022-08-09 16:32:29 +08:00
parampatterns.nim new move analyser2 (#20471) 2022-10-01 16:46:51 +02:00
parser.nim fixes #15688; handle strongSpace overflow issues (#20724) 2022-11-03 09:18:09 +01:00
passaux.nim test removing dollar for objects out of system (#20242) 2022-08-24 09:44:16 +02:00
passes.nim Fix "imported but not used" warnings (#20575) 2022-10-16 20:24:16 +02:00
pathutils.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
patterns.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
platform.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
pluginsupport.nim refactoring: fewer global variables 2018-05-27 19:19:12 +02:00
pragmas.nim 'lock levels' are deprecated, now a noop (#20539) 2022-10-11 09:17:09 +02:00
prefixmatches.nim move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +01:00
procfind.nim Fix forward declarations in shadow scope contexts (#15386) 2020-09-22 18:24:13 +02:00
readme.md refactor: renamed readme to readme.md (#14283) 2020-05-11 13:50:40 +02:00
renderer.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
renderverbatim.nim bootstrap the compiler with nimPreviewSlimSystem (#20176) 2022-08-09 16:32:29 +08:00
reorder.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
rodutils.nim move formatfloat out of system (#20195) 2022-08-24 13:38:30 +02:00
ropes.nim Fix "imported but not used" warnings (#20575) 2022-10-16 20:24:16 +02:00
saturate.nim fix warnings for deprecated low and high (#15291) 2020-09-11 01:04:07 +02:00
scriptconfig.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
sem.nim fixes #20715; range[a..b] inside object variant fails (#20716) 2022-10-31 18:42:45 +01:00
semcall.nim fix semcase on tySequence and tyObject #20283 #19682 (#20339) 2022-11-01 10:19:37 +01:00
semdata.nim fixes #20740; fixes pre-existing field visibility issues and removes efSkipFieldVisibilityCheck (#20741) 2022-11-03 15:46:16 +08:00
semexprs.nim fixes #20681; add efSkipFieldVisibilityCheck to skip check (#20639) 2022-10-28 16:19:40 -04:00
semfields.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
semfold.nim fix #19426 compile error using when/elif/else and typedesc in template (#20550) 2022-10-21 09:26:46 +02:00
semgnrc.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
seminst.nim fix #19882 Improve error message when instantiating generics that lac… (#20356) 2022-09-19 18:31:40 -04:00
semmacrosanity.nim Unpack mSlice tupleconstr for static openarrays (#20615) 2022-10-22 06:37:23 +02:00
semmagic.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
semobjconstr.nim fixes #20740; fixes pre-existing field visibility issues and removes efSkipFieldVisibilityCheck (#20741) 2022-11-03 15:46:16 +08:00
semparallel.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
sempass2.nim implemented strictCaseObjects (#20608) 2022-10-21 06:55:52 +02:00
semstmts.nim fix semcase on tySequence and tyObject #20283 #19682 (#20339) 2022-11-01 10:19:37 +01:00
semtempl.nim alternate fix + test for #12094, refs #13804 (#20686) 2022-10-29 07:20:04 +02:00
semtypes.nim fixes #20681; add efSkipFieldVisibilityCheck to skip check (#20639) 2022-10-28 16:19:40 -04:00
semtypinst.nim Fixes #20348; only respect the recursion limit if the symbol's generic type has been generated by the compiler (#20377) 2022-09-22 14:19:36 -04:00
sighashes.nim fix sighashes for generic ref (#20723) 2022-11-01 19:01:06 +01:00
sigmatch.nim fix #19149 Invalid codegen when returning var tuple from a template (#20762) 2022-11-06 11:49:34 +01:00
sinkparameter_inference.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
sizealignoffsetimpl.nim top-down type inference, implements rfc 149 (#20091) 2022-08-24 07:11:41 +02:00
sourcemap.nim cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 2021-04-17 11:14:09 +02:00
spawn.nim Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] 2022-04-04 12:05:23 +02:00
suggest.nim fixes #19278; make privateAccess work with generic ref object (#20640) 2022-10-24 15:24:51 +02:00
syntaxes.nim fixes #19662; Indent level errored for first line (#19718) 2022-04-25 12:00:23 +02:00
tccgen.nim make implicit cstring conversions explicit (#19488) 2022-08-19 15:40:53 -04:00
transf.nim Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738) 2022-11-04 09:54:45 +01:00
trees.nim Revert "fix #16185 (#16195)" (#16197) 2020-11-30 23:36:38 +01:00
treetab.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
typeallowed.nim out parameters: enforce that 'out' is only used as a parameter (#20510) 2022-10-07 22:26:53 +02:00
types.nim fix #20272 range of uint64 shows signed upper bound (#20702) 2022-11-01 05:58:32 +01:00
typesrenderer.nim bootstrap the compiler with nimPreviewSlimSystem (#20176) 2022-08-09 16:32:29 +08:00
varpartitions.nim fixes #20572 (#20585) 2022-10-17 23:48:51 +02:00
vm.nim fix #20148 implicit compile time conversion int to ranged float cause… (#20698) 2022-10-29 18:04:05 +02:00
vmconv.nim make system random work in VM (#17059) 2021-02-17 11:52:46 +01:00
vmdef.nim Implemented mSlice on the VM allowing toOpenArray to work at compile time. (#20586) 2022-10-20 23:59:57 +02:00
vmdeps.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
vmgen.nim fixes regression #17121; adding doc comment in importc proc makes it silently noop at CT (#20766) 2022-11-06 22:25:55 +08:00
vmhooks.nim move assertions out of system (#19599) 2022-03-23 20:34:53 +01:00
vmmarshal.nim move formatfloat out of system (#20195) 2022-08-24 13:38:30 +02:00
vmops.nim refactor os imports into corresponding small modules (#20720) 2022-11-01 10:18:04 +01:00
vmprofiler.nim cleanup of PR #14833 (VM profiler) 2020-07-09 19:21:20 +02:00
wordrecg.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00

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.