Nim/compiler
Timothee Cour 0c56eeda0e
expr => untyped; stmt => typed (#14804)
* expr => untyped; stmt => typed

* changelog + comment
2020-06-25 10:22:08 +02:00
..
nimfix Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
plugins Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
aliases.nim Fixed objects being erroneously zeroed out before object construction (#12814) [backport] 2019-12-05 17:31:51 +01:00
asciitables.nim Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
ast.nim fix #14802 (#14803) 2020-06-25 08:00:19 +02:00
astalgo.nim Implements RFCs #209 (#13995) 2020-04-16 21:04:05 +02:00
bitsets.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
btrees.nim kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221) 2020-01-23 11:06:28 +01:00
canonicalizer.nim make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) 2020-01-17 10:34:31 +01:00
ccgcalls.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
ccgexprs.nim Deprecated laxStrings for mutating the internal zero terminator on strings and its Deprecated code cleaned out (#14766) 2020-06-23 13:20:53 +02:00
ccgliterals.nim Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190) 2020-01-23 14:25:22 +01:00
ccgmerge.nim CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static checks (#13926) 2020-04-23 11:24:09 +02:00
ccgreset.nim specialize genericReset (#14398) 2020-05-19 21:42:53 +02:00
ccgstmts.nim fixes #14240 [backport:1.2] (#14757) 2020-06-22 14:11:13 +02:00
ccgthreadvars.nim nim doc --backend:js, nim doc --doccmd:-d:foo, nim r --backend:js, --doccmd:skip + other improvements (#14278) 2020-05-11 12:01:18 +02:00
ccgtrav.nim make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) 2020-01-17 10:34:31 +01:00
ccgtypes.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
ccgutils.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
cgen.nim fixes #14240 [backport:1.2] (#14757) 2020-06-22 14:11:13 +02:00
cgendata.nim fixes #14240 [backport:1.2] (#14757) 2020-06-22 14:11:13 +02:00
cgmeth.nim arc optimizations (#13325) 2020-03-18 16:57:34 +01:00
closureiters.nim fixes #14279 (#14618) 2020-06-09 20:39:26 +02:00
cmdlinehelper.nim fix some issues with --backend (#14363) 2020-05-16 13:09:18 +02:00
commands.nim Deprecated laxStrings for mutating the internal zero terminator on strings and its Deprecated code cleaned out (#14766) 2020-06-23 13:20:53 +02:00
condsyms.nim fix #14421 items uses lent T (#14447) 2020-05-29 17:10:59 +02:00
debuginfo.nim happy new year 2017-01-07 22:35:09 +01:00
depends.nim Make ./koch temp --gc:arc work (#14186) 2020-05-01 20:25:18 +02:00
dfa.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
docgen.nim fix #14691 docgen works again for methods (#14701) 2020-06-18 08:47:16 +02:00
docgen2.nim fix #13349 regression: isNamedTuple now works with generic tuples (#13350) 2020-02-07 06:58:04 +01:00
enumtostr.nim rename sfAlwaysReturn to sfNeverRaises 2020-03-16 19:05:33 +01:00
evalffi.nim #12103 - CI for OpenBSD (#12105) 2020-04-21 15:05:21 +02:00
evaltempl.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
extccomp.nim bug fixes with sfMainModule, hints, mainPackageNotes, mainPackageId, hintSuccessX (#14555) 2020-06-04 10:40:17 +02:00
filter_tmpl.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
filters.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
forloops.nim fix operators containing percent for VM usage (#13536) 2020-03-11 01:01:25 +01:00
gorgeimpl.nim Fixed #12337, leaking pipe after gorge (#12339) 2019-10-03 00:48:31 -04:00
guards.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
hlo.nim fix #8312 --hints:off and --warnings:off now honored everywhere (#13489) 2020-02-26 10:26:47 +01:00
idents.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
idgen.nim [refactoring] remove unused imports in the compiler and in some stdlib modules 2019-07-18 00:36:03 +02:00
importer.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
incremental.nim disable IC and the SQLite dependency for version 1 2019-09-03 18:43:57 +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 Fix #14568 (#14583) 2020-06-07 23:32:41 +02:00
installer.ini [backport] fix #14748, move gdb files to other section of installer.ini (#14772) 2020-06-23 20:36:59 +02:00
int128.nim fix last remaining warning when building nim (intVal should be Int128) + minor cleanups (#13841) 2020-04-02 08:53:52 +02:00
jsgen.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
jstypes.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
lambdalifting.nim fix #14421 items uses lent T (#14447) 2020-05-29 17:10:59 +02:00
layouter.nim make from an operator (#14241) 2020-05-08 07:54:46 +02:00
lexer.nim Deprecate oldNewlines, clean out deprecated code from oldNewlines (#14763) 2020-06-23 11:22:07 +02:00
liftdestructors.nim remove tyOpt, mOpt (#14636) 2020-06-12 11:03:52 +02:00
liftlocals.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
lineinfos.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
linter.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
llstream.nim Attempt to finish off araq cpp exceptions (#13695) 2020-03-19 20:38:25 +01:00
lookups.nim Deprecate when declared(echo):echo (#13840) 2020-04-02 02:56:18 +02:00
lowerings.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
macrocacheimpl.nim [refactoring] remove unused imports in the compiler and in some stdlib modules 2019-07-18 00:36:03 +02:00
magicsys.nim Implements RFCs #209 (#13995) 2020-04-16 21:04:05 +02:00
main.nim bug fixes with sfMainModule, hints, mainPackageNotes, mainPackageId, hintSuccessX (#14555) 2020-06-04 10:40:17 +02:00
modulegraphs.nim drnim: tiny progress (#13882) 2020-04-15 20:03:25 +02:00
modulepaths.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
modules.nim bug fixes with sfMainModule, hints, mainPackageNotes, mainPackageId, hintSuccessX (#14555) 2020-06-04 10:40:17 +02:00
msgs.nim hintMsgOrigin now works in VM code (#14678) 2020-06-16 08:49:57 +02:00
ndi.nim fix open file leak when running --debugger:native (#13832) 2020-04-01 17:48:17 +02:00
nim.cfg init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
nim.nim properly fixes #13758 so that import std/macros stays legal (#14291) 2020-05-12 08:27:47 +02:00
nimblecmd.nim make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) 2020-01-17 10:34:31 +01:00
nimconf.nim correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order 2020-02-27 13:22:18 +01:00
nimeval.nim * honor --errorMax even for tools (eg drnim, nim doc) (#14546) 2020-06-02 18:54:33 +02:00
nimlexbase.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
nimpaths.nim docgen: mangling using _. instead of @@ to avoid issue (#14454) 2020-05-26 10:08:35 +02:00
nimsets.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
nodejs.nim Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627) 2019-07-01 11:59:02 +02:00
nversion.nim Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
options.nim Deprecated laxStrings for mutating the internal zero terminator on strings and its Deprecated code cleaned out (#14766) 2020-06-23 13:20:53 +02:00
packagehandling.nim fix #13150 nim doc --project now works reliably (#13223) 2020-02-06 11:17:00 +01:00
parampatterns.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
parser.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
passaux.nim properly handle note override logic/verbosity/config/cmdline using modifiedyNotes, cmdlineNotes 2020-02-27 13:22:18 +01:00
passes.nim bug fixes with sfMainModule, hints, mainPackageNotes, mainPackageId, hintSuccessX (#14555) 2020-06-04 10:40:17 +02:00
pathutils.nim fix #13579 joinPath("/foo/", "../a") is now /a (#13586) 2020-03-05 15:31:22 +01:00
patterns.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
platform.nim Added 'ansic' os support for minimal (embedded) targets (#13088) 2020-01-15 11:06:41 +01:00
pluginsupport.nim refactoring: fewer global variables 2018-05-27 19:19:12 +02:00
pragmas.nim fixes #14458 [backport:1.2] (#14756) 2020-06-22 13:06:22 +02:00
prefixmatches.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
procfind.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
readme.md refactor: renamed readme to readme.md (#14283) 2020-05-11 13:50:40 +02:00
renderer.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
renderverbatim.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
reorder.nim reorder.nim: fixed typos 2020-06-12 11:57:29 +02:00
rod.nim [refactoring] remove unused imports in the compiler and in some stdlib modules 2019-07-18 00:36:03 +02:00
rodimpl.nim fix comment from e909486e5c (r39287564) (#14412) 2020-05-20 18:34:14 -07:00
rodutils.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
ropes.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
saturate.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
scriptconfig.nim fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658) 2020-06-16 08:56:12 +02:00
sem.nim misc cleanups in compiler msgs: use toHumanStr, etc (#14677) 2020-06-15 21:17:24 -07:00
semcall.nim minor bugfixes for 'func' and .borrow 2020-06-23 10:58:55 +02:00
semdata.nim no more code duplication bw liMessage and rawMessage + several bug fixes (#14415) 2020-05-22 12:02:10 +02:00
semexprs.nim Reject casts to builtin typeclasses (#14788) 2020-06-24 22:32:01 +02:00
semfields.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
semfold.nim Deprecated laxStrings for mutating the internal zero terminator on strings and its Deprecated code cleaned out (#14766) 2020-06-23 13:20:53 +02:00
semgnrc.nim fix bug in semgnrc: runnableExamples should not semcheck, even with > 1 arg (#14768) 2020-06-23 10:06:36 +02:00
seminst.nim avoid unsafe Nim features in preparation for --gc:arc (#14431) 2020-05-22 20:24:37 +02:00
semmacrosanity.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
semmagic.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
semobjconstr.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
semparallel.nim [cleanup] fix UnusedImport sempass2 compiler/semparallel.nim (#14426) 2020-05-21 23:28:47 -07:00
sempass2.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
semstmts.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
semtempl.nim fix codegen bug due to changing existing symbol declaration in template (#14666) 2020-06-15 08:40:12 +02:00
semtypes.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
semtypinst.nim [cleanups] doassert => doAssert; mark deadcode (#14711) 2020-06-17 20:25:25 -07:00
sighashes.nim fixes #5170 (#13589) 2020-03-05 16:02:34 +01:00
sigmatch.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
sinkparameter_inference.nim fixes #14079 [backport:1.2] (#14163) 2020-04-29 21:58:59 +02:00
sizealignoffsetimpl.nim sizeof for empty objects/tuples should be 1; fixes #14690 (#14751) 2020-06-21 19:58:37 +02:00
sourcemap.nim Remove my wrongly written mangled-related code, not needed anymore (#13858) 2020-04-03 20:22:03 +02:00
spawn.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
strutils2.nim fix #14545 windows CI docs (#14590) 2020-06-10 14:10:57 +02:00
suggest.nim compiler/suggest: highlight squashed operators (#11796) 2020-04-20 11:54:53 +02:00
syntaxes.nim no more code duplication bw liMessage and rawMessage + several bug fixes (#14415) 2020-05-22 12:02:10 +02:00
tccgen.nim move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850) 2020-04-03 09:10:45 +02:00
transf.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
trees.nim drnim: tiny progress (#13882) 2020-04-15 20:03:25 +02:00
treetab.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
types.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
typesrenderer.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
vm.nim Deprecated laxStrings for mutating the internal zero terminator on strings and its Deprecated code cleaned out (#14766) 2020-06-23 13:20:53 +02:00
vmconv.nim add --experimental:vmopsDanger; add generic conversion for vmops (#13813) 2020-04-20 12:00:00 +02:00
vmdef.nim Fix vm.nim for --gc:arc (#13741) 2020-03-26 15:18:45 +00:00
vmdeps.nim expr => untyped; stmt => typed (#14804) 2020-06-25 10:22:08 +02:00
vmgen.nim remove tyOpt, mOpt (#14636) 2020-06-12 11:03:52 +02:00
vmhooks.nim Fix vm.nim for --gc:arc (#13741) 2020-03-26 15:18:45 +00:00
vmmarshal.nim make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170) 2020-01-17 10:34:31 +01:00
vmops.nim nim doc --backend:js, nim doc --doccmd:-d:foo, nim r --backend:js, --doccmd:skip + other improvements (#14278) 2020-05-11 12:01:18 +02:00
wordrecg.nim Add thiscall calling convention, mostly for hooking purpose (#14466) 2020-05-27 16:24:47 +02:00
writetracking.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +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.