ringabout 55ebc652da fixes #24031; js codegen bug for case statement with just else branch 4 months ago
..
ic 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 5 months ago
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 10 months ago
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 1 year ago
ast.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 months ago
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 months ago
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 9 months ago
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) 1 year 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) 4 months ago
ccgexprs.nim bd063113ec fixes #23894; succ/pred shouldn't raise OverflowDefect for unsigned integers (#23895) 5 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) 2 years ago
ccgreset.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 4 months ago
ccgstmts.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
ccgthreadvars.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
ccgtrav.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
ccgtypes.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) 7 months ago
cgen.nim 2e4d344b43 Fixes #23962 `resetLoc`doenst produce any cgen code in `importcpp` types (#23964) 4 months ago
cgendata.nim b387bc49b5 chore: fix some typos (#23412) 10 months ago
cgmeth.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
closureiters.nim 05df263b84 Optimize closure iterator locals (#23787) 6 months ago
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 9 months ago
commands.nim 20043ea09e Implemented `compileOption` for `experimental` to test if a feature i… (#23933) 5 months ago
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 year ago
concepts.nim b387bc49b5 chore: fix some typos (#23412) 10 months ago
condsyms.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 5 months ago
debuginfo.nim 9c47bb9cc0 happy new year 8 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) 8 months ago
docgen.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 5 months ago
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) 1 year ago
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 1 year ago
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 months ago
evaltempl.nim 646bd99d46 [backport] fixes #23711; C code contains backtick`gensym (#23716) 6 months ago
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 4 months ago
extccomp.nim 732f7752a9 remove nir; succeeded by nif (#23809) 6 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) 1 year 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) 9 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) 4 months ago
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) 7 months ago
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 1 year ago
jsgen.nim 55ebc652da fixes #24031; js codegen bug for case statement with just else branch 4 months ago
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 1 year ago
lambdalifting.nim 05df263b84 Optimize closure iterator locals (#23787) 6 months ago
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 1 year ago
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
liftdestructors.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 4 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) 4 months ago
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
llstream.nim 2f5cfd6829 fixes nim secret not flushing stdout (#23862) 5 months ago
lookups.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 months ago
lowerings.nim e51e98997b type refactoring: part 2 (#23059) 1 year ago
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 years ago
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) 1 year ago
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) 6 months ago
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 9 months ago
modulegraphs.nim e38cbd3c84 consider ambiguity for qualified symbols (#23989) 4 months ago
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 1 year ago
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 11 months ago
msgs.nim d164f87fbc special handlings for nimble packages to shorten function names (#23891) 5 months ago
ndi.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 months ago
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) 1 year ago
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) 1 year ago
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) 5 months ago
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 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) 1 year 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) 5 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) 9 months ago
options.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 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 925dc5c131 fixes #19171; have `openArray` converted from `ptr UncheckedArray` be mutable (#23882) 5 months ago
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 10 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) 1 year ago
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) 1 year ago
pipelines.nim 732f7752a9 remove nir; succeeded by nif (#23809) 6 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 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 6 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) 9 months ago
readme.md 1ad618d96c clean up the documentation (#22196) 1 year ago
renderer.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 5 months ago
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 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 2311049b27 don't require symbol with enum type to be constant in fitNode (#23999) 4 months ago
semcall.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 4 months ago
semdata.nim f7c11a8978 allow generic compileTime proc folding (#22022) 4 months ago
semexprs.nim 11ead19bc1 fixes #24034; fixes lent types after taking implicit address (#24035) 4 months ago
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
semfold.nim a4dff1a03e fixes for 32bit system (#23980) 4 months ago
semgnrc.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 months ago
seminst.nim 446501b53b fix error messages for wrongly typed generic param default values (#24006) 4 months ago
semmacrosanity.nim f765898a75 Set type of object constructor during annotateType (#23852) 5 months ago
semmagic.nim f7c11a8978 allow generic compileTime proc folding (#22022) 4 months ago
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 9 months ago
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) 1 year ago
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 months ago
semstmts.nim d7e77b330f fix `include` in templates, with prefix operators (#24029) 4 months ago
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 2 years ago
semtempl.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 months ago
semtypes.nim 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) 4 months ago
semtypinst.nim 69ea1336fb sem generic proc param types like generic types + static instantiation fixes (#24005) 4 months ago
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) 4 months ago
sigmatch.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 4 months ago
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 1 year ago
sizealignoffsetimpl.nim 7e88091de3 fixes #22553; regression of offsetof(T, anFieldOfUncheckedArray) (#24014) 4 months ago
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 10 months ago
spawn.nim 08f1eac8ac fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660) 7 months ago
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 8 months ago
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 10 months ago
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 9 months ago
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 year ago
transf.nim 79f5a74408 fixes #23454; IndexDefect thrown when destructuring a lent tuple (#23993) 4 months ago
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) 10 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) 4 months ago
types.nim b7b1313d21 proper error message for out-of-range enum sets (#24027) 4 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) 4 months ago
vm.nim b215ec3735 fixes #23936; opcParseFloat accepts the wrong register as the first param [backport] (#23941) 5 months ago
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 1 year 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) 4 months ago
vmgen.nim 540b414c86 fixes #23925; VM generates wrong cast for negative enum values (#23951) 4 months 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) 9 months ago
vmops.nim b9b24e192a fixes #23932; vmopsDanger for os.getCurrentDir errors (#23934) 5 months ago
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) 1 year ago
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 1 year 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.