ringabout a8c9e9c4e9 deduplicate il y a 1 an
..
ic a104aa4714 IC: fix typo in rodfiles.nim (#20989) il y a 2 ans
nimfix 4c46358db1 remove shallowCopy for ARC/ORC (#20070) il y a 2 ans
plugins 25c6491b65 fixes #20162; locals doesn't work with ORC [backport] (#20163) il y a 2 ans
aliasanalysis.nim 3d692d08f7 fixes a long-standing ARC bug (#20849) il y a 2 ans
aliases.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) il y a 2 ans
ast.nim c814c4d993 fixes #3770; templates with untyped parameters resolve private fields wrongly in generics (#21554) il y a 1 an
astalgo.nim f7c203fb6c remove legacy code (#21134) il y a 2 ans
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) il y a 3 ans
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) il y a 1 an
bitsets.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
btrees.nim 4c46358db1 remove shallowCopy for ARC/ORC (#20070) il y a 2 ans
ccgcalls.nim 6552a27ec1 fixes #19857; Exception raised in closure may be "skipped" in ORC (#21530) il y a 1 an
ccgexprs.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] il y a 1 an
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) il y a 2 ans
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) il y a 2 ans
ccgreset.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgstmts.nim b5ee81fd23 fix #18977; disallow change branch of an object variant in ORC (#21526) il y a 1 an
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgtrav.nim ca1f3f36b9 no ropes WIP (#20433) il y a 2 ans
ccgtypes.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] il y a 1 an
ccgutils.nim 93b59da490 fixes #20244; fixes castSizes warnings (#21102) il y a 2 ans
cgen.nim 26b7a74a45 Optimize `cgen.addIndent` (#21508) il y a 1 an
cgendata.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) il y a 1 an
cgmeth.nim f8b5464f31 fix dispatcher call type [backport] (#20696) il y a 2 ans
closureiters.nim a0653ae71a fix closure iter state table init type [backport] (#20717) il y a 2 ans
cmdlinehelper.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) il y a 3 ans
commands.nim ff8ab06720 fixes #19396; Nimdoc hide nonexported fields (#21305) il y a 2 ans
concepts.nim cc08a9015e fixes #21263; consider all candidates for concept matches (#21265) il y a 2 ans
condsyms.nim 8e53fba083 replaces `pairs` with `keys` and `items`; saves 8 bytes (#21319) il y a 2 ans
debuginfo.nim 9c47bb9cc0 happy new year il y a 8 ans
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) il y a 2 ans
depends.nim d950e5f3a8 remove nosinks hacks from compiler (#21469) il y a 1 an
dfa.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
docgen.nim ff8ab06720 fixes #19396; Nimdoc hide nonexported fields (#21305) il y a 2 ans
docgen2.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
enumtostr.nim 08ae3467b9 refactorings (#20536) il y a 2 ans
errorhandling.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
evalffi.nim a9bd78d579 fix #12122 (#21096) il y a 2 ans
evaltempl.nim 2cca38d33c pragma for sfCallsite instead of name check + better semantics, test (#20464) il y a 2 ans
extccomp.nim 7dc80a7fef Mitigate issues related to compiler options when cross-compiling (#21330) il y a 1 an
filter_tmpl.nim 8bdb985395 fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895) il y a 3 ans
filters.nim 7e747d11c6 Cosmetic compiler cleanup (#12718) il y a 5 ans
gorgeimpl.nim fa60378a7f Return error message in output of gorge/staticExec. (#18942) il y a 2 ans
guards.nim 0faae4d5e2 fixes a strict case object problem that has been reported on the forum (#20614) il y a 2 ans
hlo.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
idents.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
importer.nim 5a995ffc53 fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687) il y a 2 ans
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) il y a 4 ans
injectdestructors.nim b5ee81fd23 fix #18977; disallow change branch of an object variant in ORC (#21526) il y a 1 an
installer.ini b2c5f8a05f fixes #21461 (#21463) il y a 1 an
int128.nim 8a19ac2070 fixes #21393 and misc style changes (#21419) il y a 1 an
isolation_check.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
jsgen.nim 6994e1b1d7 `--embedsrc` for JavaScript (#21467) il y a 1 an
jstypes.nim 4ae598762e fixes #21439; Add tyOpenArray to genTypeInfo. (#21440) il y a 1 an
lambdalifting.nim 9afb466d73 Force lambda lifting for getImplTransformed. Hacky. Fixes #19818 (#21031) il y a 2 ans
layouter.nim a15872ba9e refactor strongSpaceB with an enum (#20809) il y a 2 ans
lexer.nim 7031ea65cd Implemented basic macro expand functionality (#20579) il y a 2 ans
liftdestructors.nim 46d2161c23 minor refactoring (#21499) il y a 1 an
liftlocals.nim 2f213db7ee fixes #11225; generic sandwich problems; [backport:1.2] (#17255) il y a 3 ans
lineinfos.nim 2620da9bf9 docgen: implement cross-document links (#20990) il y a 2 ans
linter.nim 70c25c45d6 fixes #20397; fixes stylecheck regression (#20398) il y a 2 ans
llstream.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
lookups.nim ffadc75afe fixes #21496; Ambiguous calls compiles when module name are equal (#21500) il y a 1 an
lowerings.nim 424e87fd09 Fixed noinit pragma for closure variables (#20101) il y a 2 ans
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) il y a 4 ans
magicsys.nim 7e94420847 cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) il y a 3 ans
main.nim 8e9fc5e639 a better message if graphviz's dot/nodejs is not found in PATH (#21488) il y a 1 an
modulegraphs.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
modulepaths.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) il y a 2 ans
modules.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
msgs.nim 70fe360456 Use `ErrorColor` when a warning that is turned into an error is raised (#21131) il y a 2 ans
ndi.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nilcheck.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
nim.cfg 93b59da490 fixes #20244; fixes castSizes warnings (#21102) il y a 2 ans
nim.nim 7c6dcfd968 Implicitly set noNimblePath when nimble.lock is present (#21266) il y a 2 ans
nimblecmd.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nimconf.nim 82319ef00d fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641) il y a 2 ans
nimeval.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) il y a 2 ans
nimsets.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
nodejs.nim 8e9fc5e639 a better message if graphviz's dot/nodejs is not found in PATH (#21488) il y a 1 an
nversion.nim 39290cf88c Fix spellings (#12277) [backport] il y a 5 ans
optimizer.nim a137e50150 fixes #19291; implements `wasMoved` hook (#21303) il y a 1 an
options.nim 3b9e9fd7b2 Add support for NuttX RTOS. (#21372) il y a 1 an
packagehandling.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) il y a 2 ans
packages.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
parampatterns.nim 8d47bf1822 new move analyser2 (#20471) il y a 2 ans
parser.nim 406d302131 allow omitting stmts using `finally` as post expr blocks; make it consistent with `else`, `except` etc. (#21361) il y a 1 an
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) il y a 2 ans
passes.nim d950e5f3a8 remove nosinks hacks from compiler (#21469) il y a 1 an
pathutils.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] il y a 1 an
patterns.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
pipelines.nim fd4e3ae3e4 add a prepass for codeReordering (#21513) il y a 1 an
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
platform.nim 3b9e9fd7b2 Add support for NuttX RTOS. (#21372) il y a 1 an
pluginsupport.nim a325692fb2 refactoring: fewer global variables il y a 6 ans
pragmas.nim fd4e3ae3e4 add a prepass for codeReordering (#21513) il y a 1 an
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) il y a 4 ans
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) il y a 4 ans
readme.md 14f76f721d refactor: renamed readme to readme.md (#14283) il y a 4 ans
renderer.nim ff8ab06720 fixes #19396; Nimdoc hide nonexported fields (#21305) il y a 2 ans
renderverbatim.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
reorder.nim 5b20f0685c fixes pragmas reorder (#21205) il y a 2 ans
rodutils.nim b6bfe38ff5 move formatfloat out of system (#20195) il y a 2 ans
ropes.nim 081dfea746 Fix "imported but not used" warnings (#20575) il y a 2 ans
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) il y a 4 ans
scriptconfig.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
sem.nim c814c4d993 fixes #3770; templates with untyped parameters resolve private fields wrongly in generics (#21554) il y a 1 an
semcall.nim f7e3af0c2d mitigates #21272; but it's not the final fix because the first round … (#21462) il y a 1 an
semdata.nim fc35f83eee fixes #21260; add check for illegal recursion for defaults (#21270) il y a 2 ans
semexprs.nim 3c36fc17dc Merge remote-tracking branch 'upstream/devel' into pr_object il y a 1 an
semfields.nim ef29987781 An unnamed break in a block now gives an `UnnamedBreak` warning (#20901) il y a 2 ans
semfold.nim 8e53fba083 replaces `pairs` with `keys` and `items`; saves 8 bytes (#21319) il y a 2 ans
semgnrc.nim c1c53bebf1 fixes private fields il y a 1 an
seminst.nim 64a0355f3f fixes #21377; fixes `@[]` and `{}` type inference as returns in generics (#21475) il y a 1 an
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) il y a 2 ans
semmagic.nim 64a0355f3f fixes #21377; fixes `@[]` and `{}` type inference as returns in generics (#21475) il y a 1 an
semobjconstr.nim a8c9e9c4e9 deduplicate il y a 1 an
semparallel.nim 3d5edb41be fixes #20958; fixes the return type of slice function [backport] (#20959) il y a 2 ans
sempass2.nim 8a19ac2070 fixes #21393 and misc style changes (#21419) il y a 1 an
semstmts.nim d950e5f3a8 remove nosinks hacks from compiler (#21469) il y a 1 an
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) il y a 2 ans
semtempl.nim 05c6db6500 underscores for routine parameters (#21192) il y a 2 ans
semtypes.nim c814c4d993 fixes #3770; templates with untyped parameters resolve private fields wrongly in generics (#21554) il y a 1 an
semtypinst.nim a9d0124b5d Made generic type classes work with types using static parameters (#21528) il y a 1 an
sighashes.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] il y a 1 an
sigmatch.nim 741fed716e Use `analyseIfAddressTaken` logic for checking if address is taken in converter (#21533) il y a 1 an
sinkparameter_inference.nim 2ebd71bfd4 tiny refactoring related to sink parameter inference logic (#21064) il y a 2 ans
sizealignoffsetimpl.nim b57a9637e8 fixes #20914; fixes the alignment of big sets (#20918) il y a 2 ans
sourcemap.nim 89a60939f8 Fix typo in sourcemap.nim (#21438) il y a 1 an
spawn.nim 83dabb69ae Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport] il y a 2 ans
suggest.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) il y a 1 an
syntaxes.nim 42ac50e988 fixes #19662; Indent level errored for first line (#19718) il y a 2 ans
tccgen.nim e8657c7107 make implicit cstring conversions explicit (#19488) il y a 2 ans
transf.nim f2dad94902 fixes #21306; fixes #20485; don't transform yields in the var section when introducing new local vars [backport: 1.6] (#21489) il y a 1 an
trees.nim 2e4b6b94e6 Revert "fix #16185 (#16195)" (#16197) il y a 4 ans
treetab.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
typeallowed.nim 3eef0491a8 fix a few "broken link" warnings (#20837) il y a 2 ans
types.nim 91ce8c385d fix #19580; add warning for bare except: clause (#21099) il y a 2 ans
typesrenderer.nim e8ae2dc90b bootstrap the compiler with nimPreviewSlimSystem (#20176) il y a 2 ans
varpartitions.nim 81087c949f fixes #20572 (#20585) il y a 2 ans
vm.nim d950e5f3a8 remove nosinks hacks from compiler (#21469) il y a 1 an
vmconv.nim 07be1791ba fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056) il y a 2 ans
vmdef.nim 4647c7b596 fixes #14409; fixes #10674 VM callbacks switch to table-index seqs (#21297) il y a 2 ans
vmdeps.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
vmgen.nim c814c4d993 fixes #3770; templates with untyped parameters resolve private fields wrongly in generics (#21554) il y a 1 an
vmhooks.nim 7f6e800caf move assertions out of system (#19599) il y a 2 ans
vmmarshal.nim b6bfe38ff5 move formatfloat out of system (#20195) il y a 2 ans
vmops.nim 900fe8f501 Add `contains` to `std/macrocache` (#21304) il y a 2 ans
vmprofiler.nim f92d2eaa35 cleanup of PR #14833 (VM profiler) il y a 4 ans
wordrecg.nim 4459c272ec remove `enumUtilsExist` defines (#21309) il y a 2 ans

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.