ringabout 2d1533f34f fixes #5901 #21211; don't fold cast function types because of gcc 14 (#23683) 5 mesi fa
..
ic 941659581a allow replacing captured syms in macro calls in generics (#23091) 11 mesi fa
nir e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 mesi fa
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 mesi fa
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 11 mesi fa
ast.nim e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 mesi fa
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 7 mesi fa
astyaml.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 mesi fa
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) 1 anno fa
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) 1 anno fa
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
ccgcalls.nim 4bd1cf2376 rework ctypes with gcc 14 (#23636) 5 mesi fa
ccgexprs.nim 309f97af4c fixes #23627; Simple destructor code gives invalid C (#23631) 5 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) 1 anno fa
ccgreset.nim 473f259268 Fix reset code gen for range types (#22462, #23214) (#23215) 10 mesi fa
ccgstmts.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 mesi fa
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 anni fa
ccgtrav.nim 91ad6a740b type refactor: part 4 (#23077) 11 mesi fa
ccgtypes.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 mesi fa
ccgutils.nim 3b4078a7f8 Skips generic owner when mangling instances (#23563) 6 mesi fa
cgen.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 mesi fa
cgendata.nim b387bc49b5 chore: fix some typos (#23412) 8 mesi fa
cgmeth.nim aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) 8 mesi fa
closureiters.nim 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) 7 mesi fa
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 7 mesi fa
commands.nim 02be027e9b IC: progress and refactorings (#22961) 1 anno fa
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 anno fa
concepts.nim b387bc49b5 chore: fix some typos (#23412) 8 mesi fa
condsyms.nim b3b87f0f8a Mark `macros.error` as `.noreturn.` (#23081) 11 mesi fa
debuginfo.nim 9c47bb9cc0 happy new year 7 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) 6 mesi fa
docgen.nim c0acf3ce28 retain postfix node in type section typed AST, with docgen fix (#23101) 10 mesi fa
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 mesi fa
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 1 anno fa
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
evaltempl.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 mesi fa
expanddefaults.nim 91ad6a740b type refactor: part 4 (#23077) 11 mesi fa
extccomp.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 9 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) 11 mesi 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) 7 mesi fa
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 anni fa
injectdestructors.nim cd3cf3a20e fixes #23524; global variables cannot be analysed when injecting `move` (#23529) 6 mesi fa
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) 5 mesi fa
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 11 mesi fa
jsgen.nim a9a32ca3b8 improve view types for jsgen; eliminate unnecessary copies of view types (#23654) 5 mesi fa
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 11 mesi fa
lambdalifting.nim 407c0cb64a fixes #23522; fixes pre-existing wrong type for iter in `liftIterSym` (#23538) 6 mesi fa
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 11 mesi fa
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
liftdestructors.nim 2c8551556e fixes lifting subtype calling parent's hooks (#23612) 6 mesi fa
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
lineinfos.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 mesi fa
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
llstream.nim ec37b59a65 Add missing std prefix (#22910) 1 anno fa
lookups.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
lowerings.nim e51e98997b type refactoring: part 2 (#23059) 11 mesi fa
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 3 anni fa
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 mesi fa
main.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 7 mesi fa
modulegraphs.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 10 mesi fa
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 9 mesi fa
msgs.nim 7e3bac9235 * fix for the debug line info code generation (#23488) 6 mesi fa
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 anni fa
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) 11 mesi fa
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) 11 mesi fa
nim.nim 7e4060cb4a fixes #23065; DocLike command defaults to ORC (#23075) 11 mesi fa
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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) 11 mesi fa
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
nodekinds.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 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) 7 mesi fa
options.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 8 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 e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 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) 11 mesi fa
pipelines.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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 fcc43fa9c8 Allow to `exportc` params. (#23396) 6 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) 7 mesi fa
readme.md 1ad618d96c clean up the documentation (#22196) 1 anno fa
renderer.nim fc49c6e3ba fix spurious indent and newlines in rendering of nkRecList (#23121) 10 mesi fa
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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 42e8472ca6 fix noreturn/implicit discard check logic (#23681) 5 mesi fa
semcall.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
semdata.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 mesi fa
semexprs.nim 17475fc5d3 fixes openarray hoist with gcc 14 (#23647) 5 mesi fa
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
semfold.nim 2d1533f34f fixes #5901 #21211; don't fold cast function types because of gcc 14 (#23683) 5 mesi fa
semgnrc.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
seminst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 mesi fa
semmacrosanity.nim 91ad6a740b type refactor: part 4 (#23077) 11 mesi fa
semmagic.nim d837d32fd5 Skip tyAlias inside semTypeTraits in case a concept accidently emits one (#23640) 5 mesi fa
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 7 mesi fa
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 mesi fa
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
semstmts.nim 42e8472ca6 fix noreturn/implicit discard check logic (#23681) 5 mesi fa
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 1 anno fa
semtempl.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
semtypes.nim 42486e1b2f unordered enum for better interoperability with C (#23585) 6 mesi fa
semtypinst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 mesi fa
sighashes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
sigmatch.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 6 mesi fa
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 1 anno fa
sizealignoffsetimpl.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 11 mesi fa
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 8 mesi fa
spawn.nim 08f1eac8ac fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660) 5 mesi fa
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 6 mesi fa
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 8 mesi fa
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 mesi fa
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
transf.nim 0b0f185bd1 fixes #23536; Stack trace with wrong line number when the proc called inside for loop (#23540) 6 mesi fa
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) 8 mesi fa
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
typeallowed.nim 185e06c923 fixes #23419; internal error with void in generic array instantiation (#23550) 6 mesi fa
types.nim c934d5986d Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) 7 mesi fa
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
varpartitions.nim b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) 10 mesi fa
vm.nim 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) 8 mesi fa
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 mesi fa
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 anno fa
vmdeps.nim 91ad6a740b type refactor: part 4 (#23077) 11 mesi fa
vmgen.nim e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 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) 7 mesi fa
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) 1 anno fa
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 anno fa
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 mesi fa
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 10 mesi 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.