ringabout 2d1533f34f fixes #5901 #21211; don't fold cast function types because of gcc 14 (#23683) 5 months ago
..
ic 941659581a allow replacing captured syms in macro calls in generics (#23091) 11 months ago
nir e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 months ago
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 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 e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 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 fe18ec5dc0 types refactoring; WIP (#23086) 11 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 4bd1cf2376 rework ctypes with gcc 14 (#23636) 5 months ago
ccgexprs.nim 309f97af4c fixes #23627; Simple destructor code gives invalid C (#23631) 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) 1 year ago
ccgreset.nim 473f259268 Fix reset code gen for range types (#22462, #23214) (#23215) 10 months ago
ccgstmts.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 months ago
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 years ago
ccgtrav.nim 91ad6a740b type refactor: part 4 (#23077) 11 months ago
ccgtypes.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 months ago
ccgutils.nim 3b4078a7f8 Skips generic owner when mangling instances (#23563) 6 months ago
cgen.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 months ago
cgendata.nim b387bc49b5 chore: fix some typos (#23412) 8 months ago
cgmeth.nim aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) 8 months ago
closureiters.nim 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) 7 months ago
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 7 months ago
commands.nim 02be027e9b IC: progress and refactorings (#22961) 1 year 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 b3b87f0f8a Mark `macros.error` as `.noreturn.` (#23081) 11 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 c0acf3ce28 retain postfix node in type section typed AST, with docgen fix (#23101) 10 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) 1 year ago
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
evaltempl.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 months ago
expanddefaults.nim 91ad6a740b type refactor: part 4 (#23077) 11 months ago
extccomp.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 9 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 cd3cf3a20e fixes #23524; global variables cannot be analysed when injecting `move` (#23529) 6 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 a9a32ca3b8 improve view types for jsgen; eliminate unnecessary copies of view types (#23654) 5 months ago
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 11 months ago
lambdalifting.nim 407c0cb64a fixes #23522; fixes pre-existing wrong type for iter in `liftIterSym` (#23538) 6 months 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 2c8551556e fixes lifting subtype calling parent's hooks (#23612) 6 months ago
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
lineinfos.nim cb0ebecb20 #Fixes #23657 C++ compilation fails with: 'T1_' was not declared in t… (#23666) 5 months ago
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 year ago
llstream.nim ec37b59a65 Add missing std prefix (#22910) 1 year ago
lookups.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 7 months ago
modulegraphs.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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 7e3bac9235 * fix for the debug line info code generation (#23488) 6 months ago
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 years 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 7e4060cb4a fixes #23065; DocLike command defaults to ORC (#23075) 11 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 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 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 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 8 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 e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 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) 11 months ago
pipelines.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 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 fcc43fa9c8 Allow to `exportc` params. (#23396) 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) 7 months ago
readme.md 1ad618d96c clean up the documentation (#22196) 1 year ago
renderer.nim fc49c6e3ba fix spurious indent and newlines in rendering of nkRecList (#23121) 10 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) 7 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 42e8472ca6 fix noreturn/implicit discard check logic (#23681) 5 months ago
semcall.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
semdata.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 months ago
semexprs.nim 17475fc5d3 fixes openarray hoist with gcc 14 (#23647) 5 months ago
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 months ago
semfold.nim 2d1533f34f fixes #5901 #21211; don't fold cast function types because of gcc 14 (#23683) 5 months ago
semgnrc.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
seminst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 months ago
semmacrosanity.nim 91ad6a740b type refactor: part 4 (#23077) 11 months ago
semmagic.nim d837d32fd5 Skip tyAlias inside semTypeTraits in case a concept accidently emits one (#23640) 5 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 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
semstmts.nim 42e8472ca6 fix noreturn/implicit discard check logic (#23681) 5 months ago
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 1 year ago
semtempl.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
semtypes.nim 42486e1b2f unordered enum for better interoperability with C (#23585) 6 months ago
semtypinst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 8 months ago
sighashes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 months ago
sigmatch.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 6 months ago
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 1 year ago
sizealignoffsetimpl.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 11 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 0b0f185bd1 fixes #23536; Stack trace with wrong line number when the proc called inside for loop (#23540) 6 months 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 185e06c923 fixes #23419; internal error with void in generic array instantiation (#23550) 6 months ago
types.nim c934d5986d Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) 7 months ago
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 year ago
varpartitions.nim b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) 10 months ago
vm.nim 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) 8 months 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 91ad6a740b type refactor: part 4 (#23077) 11 months ago
vmgen.nim e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) 6 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) 7 months ago
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) 1 year 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.