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

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.