metagn 680a13a142 fix segfault in effect tracking for sym node with nil type (#24114) 1 month ago
..
ic 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 months ago
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 7 months ago
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 11 months ago
ast.nim 71de7fca9e handle explicit generic routine instantiations in sigmatch (#24010) 2 months ago
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 7 months ago
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 months ago
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) 1 year ago
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
ccgcalls.nim 1244ffbf39 fixes #23923; type-aliased seq[T] get different backend C/C++ pointer type names causing invalid codegen (#23924) 2 months ago
ccgexprs.nim 538603e01d allow conversions between `var` types of range types and base types (#24037) 2 months ago
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) 2 years ago
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) 1 year ago
ccgreset.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 months ago
ccgstmts.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 2 months ago
ccgthreadvars.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 months ago
ccgtrav.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 months ago
ccgtypes.nim d0dc4ac22f minor improvement (#24113) 1 month ago
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) 5 months ago
cgen.nim 21a161a535 remove nimfrs and varslot (#24126) 1 month ago
cgendata.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 2 months ago
cgmeth.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 months ago
closureiters.nim 22d2cf2175 disable closure iterator changes in #23787 unless `-d:nimOptIters` is enabled (#24108) 1 month ago
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 7 months ago
commands.nim 20043ea09e Implemented `compileOption` for `experimental` to test if a feature i… (#23933) 3 months ago
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 year ago
concepts.nim b387bc49b5 chore: fix some typos (#23412) 8 months ago
condsyms.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 months ago
debuginfo.nim 9c47bb9cc0 happy new year 7 years ago
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 years ago
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) 6 months ago
docgen.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 months ago
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 months ago
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 11 months ago
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
evaltempl.nim 771369237c implement template default values using other params (#24073) 2 months ago
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 months ago
extccomp.nim 732f7752a9 remove nir; succeeded by nif (#23809) 4 months ago
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
guards.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) 1 year ago
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
importer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 years ago
injectdestructors.nim 4ef06a5cc5 fixes `cast` expressions introduces unnecessary copies (#24004) 2 months ago
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) 5 months ago
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 11 months ago
jsgen.nim 3a55bae53f enable closures tests for JS & implement `finished` for JS (#23521) 2 months ago
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 11 months ago
lambdalifting.nim 22d2cf2175 disable closure iterator changes in #23787 unless `-d:nimOptIters` is enabled (#24108) 1 month ago
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 11 months ago
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
liftdestructors.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 months ago
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
lineinfos.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 2 months ago
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
llstream.nim 2f5cfd6829 fixes nim secret not flushing stdout (#23862) 3 months ago
lookups.nim f223f016f3 show symchoices as ambiguous in overload type mismatches (#24077) 2 months ago
lowerings.nim e51e98997b type refactoring: part 2 (#23059) 11 months ago
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 3 years ago
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 months ago
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) 4 months ago
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 7 months ago
modulegraphs.nim e38cbd3c84 consider ambiguity for qualified symbols (#23989) 2 months ago
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 10 months ago
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 9 months ago
msgs.nim 651fdbe586 Fixes #23624 "nim check crash" (#23625) 1 month ago
ndi.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 months ago
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) 11 months ago
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) 11 months ago
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) 3 months ago
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nimsets.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 months ago
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
nodekinds.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 months ago
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) 1 year ago
optimizer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
options.nim 4ff35585f8 minor: export dllOverrides (#24106) 2 months ago
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
packages.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) 1 year ago
parampatterns.nim 538603e01d allow conversions between `var` types of range types and base types (#24037) 2 months ago
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 7 months ago
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 years ago
passes.nim 02be027e9b IC: progress and refactorings (#22961) 11 months ago
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 months ago
pipelines.nim 732f7752a9 remove nir; succeeded by nif (#23809) 4 months ago
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 1 year ago
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 years ago
pragmas.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 2 months ago
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
pushpoppragmas.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 2 months ago
readme.md 1ad618d96c clean up the documentation (#22196) 1 year ago
renderer.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 months ago
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
reorder.nim c10f84b9d7 fixes #24053; fixes #18288; relax reorder with push/pop pragmas restrictions; no crossing push/pop barriers (#24061) 2 months ago
rodutils.nim b79b39128e NIR: C codegen additions (#22914) 1 year ago
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 4 years ago
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
sem.nim 71de7fca9e handle explicit generic routine instantiations in sigmatch (#24010) 2 months ago
semcall.nim 61e04ba0ed fix calls to untyped arbitrary expressions in generics (#24100) 2 months ago
semdata.nim 61e04ba0ed fix calls to untyped arbitrary expressions in generics (#24100) 2 months ago
semexprs.nim 9dda7ff7bc make sigmatch use prepareNode for tyFromExpr (#24095) 2 months ago
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
semfold.nim 6d362e0ffe fix regression with uint constant losing abstract type (#24105) 2 months ago
semgnrc.nim bf865fa75a fix undeclared identifier in templates in generics (#24069) 2 months ago
seminst.nim b5f2eafed1 don't match arguments with typeclass type in generics (#24123) 1 month ago
semmacrosanity.nim f765898a75 Set type of object constructor during annotateType (#23852) 3 months ago
semmagic.nim ca28c256f3 fix subscript in generics, typeof, `lent` with bracket (#24067) 2 months ago
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 7 months ago
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
sempass2.nim 680a13a142 fix segfault in effect tracking for sym node with nil type (#24114) 1 month ago
semstmts.nim 61e04ba0ed fix calls to untyped arbitrary expressions in generics (#24100) 2 months ago
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 1 year ago
semtempl.nim 771369237c implement template default values using other params (#24073) 2 months ago
semtypes.nim 771369237c implement template default values using other params (#24073) 2 months ago
semtypinst.nim 9dda7ff7bc make sigmatch use prepareNode for tyFromExpr (#24095) 2 months ago
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) 2 months ago
sigmatch.nim b5f2eafed1 don't match arguments with typeclass type in generics (#24123) 1 month ago
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 11 months ago
sizealignoffsetimpl.nim 7e88091de3 fixes #22553; regression of offsetof(T, anFieldOfUncheckedArray) (#24014) 2 months ago
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 8 months ago
spawn.nim 08f1eac8ac fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660) 5 months ago
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 6 months ago
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 8 months ago
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
transf.nim 22d2cf2175 disable closure iterator changes in #23787 unless `-d:nimOptIters` is enabled (#24108) 1 month ago
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) 8 months ago
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
typeallowed.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 months ago
types.nim 793cee4de1 treat generic body type as atomic in iterOverType (#24096) 2 months ago
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
varpartitions.nim 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) 2 months ago
vm.nim 651fdbe586 Fixes #23624 "nim check crash" (#23625) 1 month ago
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 months ago
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 year ago
vmdeps.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 months ago
vmgen.nim 1fbb67ffe9 make distinct conversions addressable in VM (#24124) 1 month ago
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
vmops.nim b9b24e192a fixes #23932; vmopsDanger for os.getCurrentDir errors (#23934) 3 months ago
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 months ago
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 10 months ago

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.