Nim/compiler
Timothee Cour 6e267d28b3
remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861)
* cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors

* simplify nimNoNilSeqs2

* simplify nimNoNilSeqs

* fixup
2021-01-29 14:30:24 +01:00
..
ic IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
nimfix cmdline: improve command processing (#16056) 2020-11-26 15:55:56 -08:00
plugins IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
aliases.nim Fixed objects being erroneously zeroed out before object construction (#12814) [backport] 2019-12-05 17:31:51 +01:00
ast.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
astalgo.nim [docs minor]space for code-block (#16266) 2020-12-06 09:54:32 +01:00
bitsets.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
btrees.nim move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +01:00
ccgcalls.nim fixes https://github.com/status-im/nimbus-eth2/issues/1549 (#16146) 2020-11-26 19:05:21 +01:00
ccgexprs.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01: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 explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
ccgreset.nim specialize genericReset (#14398) 2020-05-19 21:42:53 +02:00
ccgstmts.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
ccgthreadvars.nim fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01:00
ccgtrav.nim allow old styled RTTI for arc/orc (#15331) 2020-09-16 14:57:01 +02:00
ccgtypes.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
ccgutils.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
cgen.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
cgendata.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
cgmeth.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
closureiters.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
cmdlinehelper.nim cmdline: improve command processing (#16056) 2020-11-26 15:55:56 -08:00
commands.nim --hintAsError (#16763) 2021-01-20 10:49:59 +01:00
condsyms.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
debuginfo.nim happy new year 2017-01-07 22:35:09 +01:00
depends.nim explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
dfa.nim Finer analysis for array access (#16787) 2021-01-24 21:01:41 +01:00
docgen.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
docgen2.nim explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
enumtostr.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
evalffi.nim Use typeflag instead 2020-08-10 12:57:32 +02:00
evaltempl.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
extccomp.nim fix #16206, nim r / nim -r recompiles if cwd changes (#16349) 2021-01-02 01:33:59 -08:00
filter_tmpl.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +02:00
filters.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
gorgeimpl.nim Fixed #12337, leaking pipe after gorge (#12339) 2019-10-03 00:48:31 -04:00
guards.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
hlo.nim explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
idents.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
importer.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01: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 Finer analysis for array access (#16787) 2021-01-24 21:01:41 +01:00
installer.ini OSX: support for M1 [backport:1.0] (#16279) 2020-12-07 10:50:30 +01:00
int128.nim move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +01:00
isolation_check.nim canAlias improvement (#15773) 2020-10-30 11:42:06 +00:00
jsgen.nim fix negative nan (#16628) 2021-01-11 11:39:38 +01:00
jstypes.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
lambdalifting.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
layouter.nim Use modern enums in compiler (#15775) 2020-11-02 10:35:24 +01:00
lexer.nim conservative approach to fix #15184 (#16723) 2021-01-15 00:53:36 +01:00
liftdestructors.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
liftlocals.nim explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
lineinfos.nim IC: next steps (#16632) 2021-01-12 09:36:51 +01:00
linter.nim Use modern enums in compiler (#15775) 2020-11-02 10:35:24 +01:00
llstream.nim fix hintProcessing dots interference with static:echo and hintCC; add tests for nim secret, add tests for hintProcessing, misc other bug fixes (#16495) 2020-12-30 14:58:41 +01:00
lookups.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
lowerings.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
macrocacheimpl.nim IC: next steps (#16632) 2021-01-12 09:36:51 +01:00
magicsys.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
main.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
modulegraphs.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
modulepaths.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +02:00
modules.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
msgs.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
ndi.nim fix open file leak when running --debugger:native (#13832) 2020-04-01 17:48:17 +02:00
nilcheck.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
nim.cfg remove nim.cfg file change lefover [backport:1.2] (#15469) 2020-10-02 18:51:49 +02:00
nim.nim cmdline: improve command processing (#16056) 2020-11-26 15:55:56 -08:00
nimblecmd.nim move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +01:00
nimconf.nim fix #16526 run config.nims before foo.nim.cfg (#16557) 2021-01-02 21:41:44 +01:00
nimeval.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
nimlexbase.nim fixed article duplication typos (#16216) 2020-12-02 09:15:29 +01:00
nimpaths.nim use release version (#15400) 2020-09-24 14:14:23 +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
optimizer.nim An optimizer for ARC (#14962) 2020-07-15 23:00:06 +02:00
options.nim fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01:00
packagehandling.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
parampatterns.nim reuse existing toHumanStr (#15674) 2020-10-21 15:53:43 -07:00
parser.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
passaux.nim explicit ID generation for easier IC (#15559) 2020-10-25 08:50:47 +01:00
passes.nim IC: next steps (#16632) 2021-01-12 09:36:51 +01:00
pathutils.nim move tests under the compiler directory to testament (#16096) 2020-11-25 07:48:27 +01:00
patterns.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
platform.nim some comments for amd64 and nimvm CPU (#16756) 2021-01-20 11:10:11 +01:00
pluginsupport.nim refactoring: fewer global variables 2018-05-27 19:19:12 +02:00
pragmas.nim fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01: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 Correct all eggs (#15906) 2020-11-10 21:53:25 +01:00
renderverbatim.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +02:00
reorder.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +02:00
rodutils.nim fix negative nan (#16628) 2021-01-11 11:39:38 +01:00
ropes.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
saturate.nim fix warnings for deprecated low and high (#15291) 2020-09-11 01:04:07 +02:00
scriptconfig.nim cmdline: improve command processing (#16056) 2020-11-26 15:55:56 -08:00
sem.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
semcall.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
semdata.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
semexprs.nim IC: next steps (#16705) 2021-01-14 17:30:41 +01:00
semfields.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
semfold.nim IC: next steps (#16705) 2021-01-14 17:30:41 +01:00
semgnrc.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
seminst.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
semmacrosanity.nim Cosmetic compiler cleanup (#12718) 2019-11-28 17:13:04 +01:00
semmagic.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
semobjconstr.nim Nil type check implementation (#15287) 2020-12-29 10:31:11 +01:00
semparallel.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
sempass2.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
semstmts.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
semtempl.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
semtypes.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
semtypinst.nim IC: final implementation steps (#16801) 2021-01-25 20:52:26 +01:00
sighashes.nim IC: next steps (#16550) 2021-01-07 20:26:40 +01:00
sigmatch.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
sinkparameter_inference.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
sizealignoffsetimpl.nim Fix #12636 (#15850) 2020-11-05 18:55:52 +01:00
sourcemap.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +02:00
spawn.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
strutils2.nim Correct all eggs (#15906) 2020-11-10 21:53:25 +01:00
suggest.nim fixed nim-lang/nimsuggest#48 type aware sug (#16814) 2021-01-25 07:36:47 +01:00
syntaxes.nim Big compiler Cleanup (#14777) 2020-08-28 22:18:09 +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 IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
trees.nim Revert "fix #16185 (#16195)" (#16197) 2020-11-30 23:36:38 +01:00
treetab.nim Nil type check implementation (#15287) 2020-12-29 10:31:11 +01:00
typeallowed.nim fixes #15671 [backport:1.4] (#15690) 2020-11-20 18:14:15 +01:00
types.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
typesrenderer.nim remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683) 2020-11-26 11:54:18 -08:00
varpartitions.nim IC: next steps (#16729) 2021-01-23 08:06:15 +01:00
vm.nim remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) 2021-01-29 14:30:24 +01:00
vmconv.nim add --experimental:vmopsDanger; add generic conversion for vmops (#13813) 2020-04-20 12:00:00 +02:00
vmdef.nim IC: next steps (#16632) 2021-01-12 09:36:51 +01:00
vmdeps.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
vmgen.nim fix #16555, fixes #16405: len, high honors '\0' for cstring in vm (#16610) 2021-01-11 10:16:20 +01:00
vmhooks.nim fix #16815 round(x,places) works again in vm (#16825) 2021-01-28 10:40:18 +01:00
vmmarshal.nim big steps torwards an efficient, simple IC implementation (#16543) 2021-01-02 07:30:39 +01:00
vmops.nim fix #16815 round(x,places) works again in vm (#16825) 2021-01-28 10:40:18 +01:00
vmprofiler.nim cleanup of PR #14833 (VM profiler) 2020-07-09 19:21:20 +02:00
wordrecg.nim fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01: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.