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

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.