ringabout 55ebc652da fixes #24031; js codegen bug for case statement with just else branch hai 4 meses
..
ic 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) hai 5 meses
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) hai 10 meses
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) hai 1 ano
aliases.nim 91ad6a740b type refactor: part 4 (#23077) hai 1 ano
ast.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) hai 9 meses
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) hai 1 ano
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) hai 1 ano
btrees.nim 93ced31353 use strictdefs for compiler (#22365) hai 1 ano
ccgcalls.nim 1244ffbf39 fixes #23923; type-aliased seq[T] get different backend C/C++ pointer type names causing invalid codegen (#23924) hai 4 meses
ccgexprs.nim bd063113ec fixes #23894; succ/pred shouldn't raise OverflowDefect for unsigned integers (#23895) hai 5 meses
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) %!s(int64=2) %!d(string=hai) anos
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) %!s(int64=2) %!d(string=hai) anos
ccgreset.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
ccgstmts.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
ccgthreadvars.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
ccgtrav.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
ccgtypes.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) hai 7 meses
cgen.nim 2e4d344b43 Fixes #23962 `resetLoc`doenst produce any cgen code in `importcpp` types (#23964) hai 4 meses
cgendata.nim b387bc49b5 chore: fix some typos (#23412) hai 10 meses
cgmeth.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
closureiters.nim 05df263b84 Optimize closure iterator locals (#23787) hai 6 meses
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) hai 9 meses
commands.nim 20043ea09e Implemented `compileOption` for `experimental` to test if a feature i… (#23933) hai 5 meses
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) hai 1 ano
concepts.nim b387bc49b5 chore: fix some typos (#23412) hai 10 meses
condsyms.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) hai 5 meses
debuginfo.nim 9c47bb9cc0 happy new year %!s(int64=8) %!d(string=hai) anos
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) %!s(int64=2) %!d(string=hai) anos
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) hai 8 meses
docgen.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) hai 5 meses
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) hai 1 ano
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) hai 1 ano
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) hai 1 ano
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
evaltempl.nim 646bd99d46 [backport] fixes #23711; C code contains backtick`gensym (#23716) hai 6 meses
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
extccomp.nim 732f7752a9 remove nir; succeeded by nif (#23809) hai 6 meses
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
guards.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) hai 1 ano
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
importer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) %!s(int64=4) %!d(string=hai) anos
injectdestructors.nim 4ef06a5cc5 fixes `cast` expressions introduces unnecessary copies (#24004) hai 4 meses
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) hai 7 meses
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) hai 1 ano
jsgen.nim 55ebc652da fixes #24031; js codegen bug for case statement with just else branch hai 4 meses
jstypes.nim e51e98997b type refactoring: part 2 (#23059) hai 1 ano
lambdalifting.nim 05df263b84 Optimize closure iterator locals (#23787) hai 6 meses
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) hai 1 ano
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
liftdestructors.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
lineinfos.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
linter.nim 93ced31353 use strictdefs for compiler (#22365) hai 1 ano
llstream.nim 2f5cfd6829 fixes nim secret not flushing stdout (#23862) hai 5 meses
lookups.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
lowerings.nim e51e98997b type refactoring: part 2 (#23059) hai 1 ano
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) %!s(int64=4) %!d(string=hai) anos
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) hai 1 ano
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) hai 6 meses
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) hai 9 meses
modulegraphs.nim e38cbd3c84 consider ambiguity for qualified symbols (#23989) hai 4 meses
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) hai 1 ano
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) hai 11 meses
msgs.nim d164f87fbc special handlings for nimble packages to shorten function names (#23891) hai 5 meses
ndi.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) hai 1 ano
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) hai 1 ano
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) hai 5 meses
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
nimsets.nim db603237c6 Types: Refactorings; step 1 (#23055) hai 1 ano
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
nodekinds.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) hai 5 meses
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) hai 1 ano
optimizer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
options.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) hai 1 ano
packages.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) hai 1 ano
parampatterns.nim 925dc5c131 fixes #19171; have `openArray` converted from `ptr UncheckedArray` be mutable (#23882) hai 5 meses
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) hai 10 meses
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) %!s(int64=2) %!d(string=hai) anos
passes.nim 02be027e9b IC: progress and refactorings (#22961) hai 1 ano
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) hai 1 ano
pipelines.nim 732f7752a9 remove nir; succeeded by nif (#23809) hai 6 meses
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) hai 1 ano
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
pluginsupport.nim a325692fb2 refactoring: fewer global variables %!s(int64=6) %!d(string=hai) anos
pragmas.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) hai 6 meses
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
readme.md 1ad618d96c clean up the documentation (#22196) hai 1 ano
renderer.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) hai 5 meses
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
rodutils.nim b79b39128e NIR: C codegen additions (#22914) hai 1 ano
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hai 1 ano
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) %!s(int64=4) %!d(string=hai) anos
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
sem.nim 2311049b27 don't require symbol with enum type to be constant in fitNode (#23999) hai 4 meses
semcall.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
semdata.nim f7c11a8978 allow generic compileTime proc folding (#22022) hai 4 meses
semexprs.nim 11ead19bc1 fixes #24034; fixes lent types after taking implicit address (#24035) hai 4 meses
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
semfold.nim a4dff1a03e fixes for 32bit system (#23980) hai 4 meses
semgnrc.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
seminst.nim 446501b53b fix error messages for wrongly typed generic param default values (#24006) hai 4 meses
semmacrosanity.nim f765898a75 Set type of object constructor during annotateType (#23852) hai 5 meses
semmagic.nim f7c11a8978 allow generic compileTime proc folding (#22022) hai 4 meses
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) hai 9 meses
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) hai 1 ano
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
semstmts.nim d7e77b330f fix `include` in templates, with prefix operators (#24029) hai 4 meses
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) %!s(int64=2) %!d(string=hai) anos
semtempl.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
semtypes.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) hai 4 meses
semtypinst.nim 69ea1336fb sem generic proc param types like generic types + static instantiation fixes (#24005) hai 4 meses
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) hai 5 meses
sigmatch.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) hai 1 ano
sizealignoffsetimpl.nim 7e88091de3 fixes #22553; regression of offsetof(T, anFieldOfUncheckedArray) (#24014) hai 4 meses
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) hai 10 meses
spawn.nim 08f1eac8ac fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660) hai 7 meses
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) hai 8 meses
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) hai 10 meses
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hai 1 ano
transf.nim 79f5a74408 fixes #23454; IndexDefect thrown when destructuring a lent tuple (#23993) hai 4 meses
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) hai 10 meses
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
typeallowed.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
types.nim b7b1313d21 proper error message for out-of-range enum sets (#24027) hai 4 meses
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
varpartitions.nim 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) hai 4 meses
vm.nim b215ec3735 fixes #23936; opcParseFloat accepts the wrong register as the first param [backport] (#23941) hai 5 meses
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) hai 1 ano
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) hai 1 ano
vmdeps.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) hai 4 meses
vmgen.nim 540b414c86 fixes #23925; VM generates wrong cast for negative enum values (#23951) hai 4 meses
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) hai 1 ano
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) hai 9 meses
vmops.nim b9b24e192a fixes #23932; vmopsDanger for os.getCurrentDir errors (#23934) hai 5 meses
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) hai 1 ano
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) hai 1 ano
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) hai 1 ano

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.