ringabout c615828ccb fixes #22852; fixes #23435; fixes #23645; SIGSEGV when slicing string or seq[T] with index out of range (#23279) vor 7 Monaten
..
ic 941659581a allow replacing captured syms in macro calls in generics (#23091) vor 1 Jahr
nir e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) vor 8 Monaten
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) vor 10 Monaten
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) vor 1 Jahr
aliases.nim 91ad6a740b type refactor: part 4 (#23077) vor 1 Jahr
ast.nim e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) vor 8 Monaten
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) vor 9 Monaten
astyaml.nim fe18ec5dc0 types refactoring; WIP (#23086) vor 1 Jahr
backendpragmas.nim 38f876dd48 fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) vor 1 Jahr
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) vor 1 Jahr
btrees.nim 93ced31353 use strictdefs for compiler (#22365) vor 1 Jahr
ccgcalls.nim 5cd141cebb fixes `reifiedOpenArray`; `nkHiddenStdConv` is PathKinds1 not PathKinds0 (#23633) vor 7 Monaten
ccgexprs.nim 309f97af4c fixes #23627; Simple destructor code gives invalid C (#23631) vor 7 Monaten
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) vor 2 Jahren
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) vor 2 Jahren
ccgreset.nim 473f259268 Fix reset code gen for range types (#22462, #23214) (#23215) vor 1 Jahr
ccgstmts.nim 33902d9dbb [Cpp] Fixes an issue when mixing hooks and calls (#23428) vor 9 Monaten
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) vor 2 Jahren
ccgtrav.nim 91ad6a740b type refactor: part 4 (#23077) vor 1 Jahr
ccgtypes.nim 6cd03bae29 Minor refactoring (#23637) vor 7 Monaten
ccgutils.nim 3b4078a7f8 Skips generic owner when mangling instances (#23563) vor 8 Monaten
cgen.nim c615828ccb fixes #22852; fixes #23435; fixes #23645; SIGSEGV when slicing string or seq[T] with index out of range (#23279) vor 7 Monaten
cgendata.nim b387bc49b5 chore: fix some typos (#23412) vor 10 Monaten
cgmeth.nim aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) vor 10 Monaten
closureiters.nim 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) vor 9 Monaten
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) vor 9 Monaten
commands.nim 02be027e9b IC: progress and refactorings (#22961) vor 1 Jahr
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) vor 1 Jahr
concepts.nim b387bc49b5 chore: fix some typos (#23412) vor 10 Monaten
condsyms.nim b3b87f0f8a Mark `macros.error` as `.noreturn.` (#23081) vor 1 Jahr
debuginfo.nim 9c47bb9cc0 happy new year vor 8 Jahren
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) vor 2 Jahren
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) vor 8 Monaten
docgen.nim c0acf3ce28 retain postfix node in type section typed AST, with docgen fix (#23101) vor 1 Jahr
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) vor 1 Jahr
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) vor 1 Jahr
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) vor 1 Jahr
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
evaltempl.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) vor 10 Monaten
expanddefaults.nim 91ad6a740b type refactor: part 4 (#23077) vor 1 Jahr
extccomp.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) vor 11 Monaten
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
guards.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) vor 1 Jahr
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
importer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) vor 4 Jahren
injectdestructors.nim cd3cf3a20e fixes #23524; global variables cannot be analysed when injecting `move` (#23529) vor 8 Monaten
installer.ini 0ba932132e Support NetBSD/aarch64 (#23616) vor 8 Monaten
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) vor 1 Jahr
jsgen.nim 0fcd838fd9 fixes openarray views default values in JS (#23607) vor 8 Monaten
jstypes.nim e51e98997b type refactoring: part 2 (#23059) vor 1 Jahr
lambdalifting.nim 407c0cb64a fixes #23522; fixes pre-existing wrong type for iter in `liftIterSym` (#23538) vor 8 Monaten
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) vor 1 Jahr
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
liftdestructors.nim 2c8551556e fixes lifting subtype calling parent's hooks (#23612) vor 8 Monaten
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
lineinfos.nim 4b1a841707 add switch, warning, and `bind` support for new generic injection behavior (#23102) vor 1 Jahr
linter.nim 93ced31353 use strictdefs for compiler (#22365) vor 1 Jahr
llstream.nim ec37b59a65 Add missing std prefix (#22910) vor 1 Jahr
lookups.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
lowerings.nim e51e98997b type refactoring: part 2 (#23059) vor 1 Jahr
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) vor 4 Jahren
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) vor 1 Jahr
main.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) vor 9 Monaten
modulegraphs.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) vor 1 Jahr
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) vor 11 Monaten
msgs.nim 7e3bac9235 * fix for the debug line info code generation (#23488) vor 8 Monaten
ndi.nim 7f6e800caf move assertions out of system (#19599) vor 2 Jahren
nilcheck.nim 9648d97a8d fixes #22637; now `--experimental:strictNotNil` can be enabled globally (#23079) vor 1 Jahr
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) vor 1 Jahr
nim.nim 7e4060cb4a fixes #23065; DocLike command defaults to ORC (#23075) vor 1 Jahr
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
nimsets.nim db603237c6 Types: Refactorings; step 1 (#23055) vor 1 Jahr
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
nodekinds.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) vor 10 Monaten
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) vor 1 Jahr
optimizer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
options.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) vor 10 Monaten
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) vor 1 Jahr
packages.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) vor 1 Jahr
parampatterns.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) vor 10 Monaten
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) vor 2 Jahren
passes.nim 02be027e9b IC: progress and refactorings (#22961) vor 1 Jahr
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) vor 1 Jahr
pipelines.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) vor 1 Jahr
platform.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
pluginsupport.nim a325692fb2 refactoring: fewer global variables vor 6 Jahren
pragmas.nim fcc43fa9c8 Allow to `exportc` params. (#23396) vor 8 Monaten
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
readme.md 1ad618d96c clean up the documentation (#22196) vor 1 Jahr
renderer.nim fc49c6e3ba fix spurious indent and newlines in rendering of nkRecList (#23121) vor 1 Jahr
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
rodutils.nim b79b39128e NIR: C codegen additions (#22914) vor 1 Jahr
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) vor 1 Jahr
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) vor 4 Jahren
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
sem.nim 42486e1b2f unordered enum for better interoperability with C (#23585) vor 8 Monaten
semcall.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
semdata.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) vor 10 Monaten
semexprs.nim 81a937ce1f ignore modules when looking up symbol with expected type (#23597) vor 8 Monaten
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
semfold.nim 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) vor 9 Monaten
semgnrc.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
seminst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) vor 10 Monaten
semmacrosanity.nim 91ad6a740b type refactor: part 4 (#23077) vor 1 Jahr
semmagic.nim d837d32fd5 Skip tyAlias inside semTypeTraits in case a concept accidently emits one (#23640) vor 7 Monaten
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) vor 9 Monaten
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) vor 1 Jahr
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
semstmts.nim f682dabf71 fixes #23531; fixes invalid meta type accepted in the object fields (#23532) vor 8 Monaten
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) vor 2 Jahren
semtempl.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
semtypes.nim 42486e1b2f unordered enum for better interoperability with C (#23585) vor 8 Monaten
semtypinst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) vor 10 Monaten
sighashes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
sigmatch.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) vor 8 Monaten
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) vor 1 Jahr
sizealignoffsetimpl.nim 6ed33b6d61 type graph refactor; part 3 (#23064) vor 1 Jahr
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) vor 10 Monaten
spawn.nim e51e98997b type refactoring: part 2 (#23059) vor 1 Jahr
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) vor 8 Monaten
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) vor 10 Monaten
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) vor 1 Jahr
transf.nim 0b0f185bd1 fixes #23536; Stack trace with wrong line number when the proc called inside for loop (#23540) vor 8 Monaten
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) vor 10 Monaten
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
typeallowed.nim 185e06c923 fixes #23419; internal error with void in generic array instantiation (#23550) vor 8 Monaten
types.nim c934d5986d Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) vor 9 Monaten
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
varpartitions.nim b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) vor 1 Jahr
vm.nim 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) vor 10 Monaten
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) vor 1 Jahr
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) vor 1 Jahr
vmdeps.nim 91ad6a740b type refactor: part 4 (#23077) vor 1 Jahr
vmgen.nim e662043fd1 rework `wasMoved`, `move` on the JS backend (#23577) vor 8 Monaten
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) vor 1 Jahr
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) vor 9 Monaten
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) vor 1 Jahr
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) vor 1 Jahr
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) vor 1 Jahr
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) vor 1 Jahr

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.