ringabout f682dabf71 fixes #23531; fixes invalid meta type accepted in the object fields (#23532) 1 day ago
..
ic 941659581a allow replacing captured syms in macro calls in generics (#23091) 4 months ago
nir 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) 2 weeks ago
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 1 month ago
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 8 months ago
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 4 months ago
ast.nim 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) 2 weeks ago
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 1 week ago
astyaml.nim fe18ec5dc0 types refactoring; WIP (#23086) 4 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) 6 months ago
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 8 months ago
ccgcalls.nim d44b0b1869 fixes #22597; avoid side effects for call returning openArray types (#23257) 3 months ago
ccgexprs.nim 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) 2 weeks ago
ccgliterals.nim de4b0346bd store full definition AST for consts, fix noRewrite (#20115) 1 year 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) 3 months ago
ccgstmts.nim 33902d9dbb [Cpp] Fixes an issue when mixing hooks and calls (#23428) 1 month ago
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 1 year ago
ccgtrav.nim 91ad6a740b type refactor: part 4 (#23077) 4 months ago
ccgtypes.nim 318b2cfc5e allow having {.noinit.} on a complex type avoid memsets to 0 for its … (#23388) 1 week ago
ccgutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 3 weeks ago
cgen.nim 7e3bac9235 * fix for the debug line info code generation (#23488) 5 days ago
cgendata.nim b387bc49b5 chore: fix some typos (#23412) 1 month ago
cgmeth.nim aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) 1 month ago
closureiters.nim 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) 1 week ago
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 1 month ago
commands.nim 02be027e9b IC: progress and refactorings (#22961) 5 months ago
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 10 months ago
concepts.nim b387bc49b5 chore: fix some typos (#23412) 1 month ago
condsyms.nim b3b87f0f8a Mark `macros.error` as `.noreturn.` (#23081) 4 months ago
debuginfo.nim 9c47bb9cc0 happy new year 7 years ago
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 1 year ago
depends.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
dfa.nim 6cb2dca41d updated compiler DFA docs (#23527) 5 days ago
docgen.nim c0acf3ce28 retain postfix node in type section typed AST, with docgen fix (#23101) 4 months ago
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 8 months ago
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) 4 months ago
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 5 months ago
evalffi.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
evaltempl.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
expanddefaults.nim 91ad6a740b type refactor: part 4 (#23077) 4 months ago
extccomp.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 2 months ago
filter_tmpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
filters.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
gorgeimpl.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
guards.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) 8 months ago
idents.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
importer.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 3 years ago
injectdestructors.nim cd3cf3a20e fixes #23524; global variables cannot be analysed when injecting `move` (#23529) 3 days ago
installer.ini fe98032d3d fix(#23231): add nimdoc.cls to installer script (#23232) 3 months ago
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 4 months ago
jsgen.nim a5c1a6f042 adds another fix for concept in JS (#23535) 3 days ago
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 4 months ago
lambdalifting.nim 407c0cb64a fixes #23522; fixes pre-existing wrong type for iter in `liftIterSym` (#23538) 1 day ago
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 4 months ago
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
liftdestructors.nim 572b0b67ff fixes sink regression for ORC; ref #23354 (#23359) 1 month ago
liftlocals.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
lineinfos.nim 4b1a841707 add switch, warning, and `bind` support for new generic injection behavior (#23102) 4 months ago
linter.nim 93ced31353 use strictdefs for compiler (#22365) 8 months ago
llstream.nim ec37b59a65 Add missing std prefix (#22910) 5 months ago
lookups.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
lowerings.nim e51e98997b type refactoring: part 2 (#23059) 4 months ago
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 3 years ago
magicsys.nim db603237c6 Types: Refactorings; step 1 (#23055) 4 months ago
main.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 3 weeks ago
modulegraphs.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 3 months ago
modules.nim 519d976f62 compute checksum of nim files early in the pipelines (#23268) 2 months ago
msgs.nim 7e3bac9235 * fix for the debug line info code generation (#23488) 5 days 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) 4 months ago
nim.cfg b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004) 4 months ago
nim.nim 7e4060cb4a fixes #23065; DocLike command defaults to ORC (#23075) 4 months ago
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
nimlexbase.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
nimpaths.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
nimsets.nim db603237c6 Types: Refactorings; step 1 (#23055) 4 months ago
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
nodekinds.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 1 month 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) 2 weeks ago
options.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 1 month ago
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) 8 months 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) 6 months ago
parser.nim 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 1 month ago
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 1 year ago
passes.nim 02be027e9b IC: progress and refactorings (#22961) 5 months ago
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) 4 months ago
pipelines.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks 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) 6 months ago
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 years ago
pragmas.nim 4601bb0255 fixes #23525; an 'emit' pragma cannot be pushed (#23537) 3 days ago
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
readme.md 1ad618d96c clean up the documentation (#22196) 10 months ago
renderer.nim fc49c6e3ba fix spurious indent and newlines in rendering of nkRecList (#23121) 4 months ago
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
reorder.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
rodutils.nim b79b39128e NIR: C codegen additions (#22914) 5 months ago
ropes.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 8 months ago
saturate.nim 6a621b35e7 fix warnings for deprecated `low` and `high` (#15291) 3 years ago
scriptconfig.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
sem.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
semcall.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
semdata.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
semexprs.nim 60af04635f fix #23518 - `<expr> is` crashes nimsuggest (#23523) 6 days ago
semfields.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
semfold.nim 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) 2 weeks ago
semgnrc.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
seminst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
semmacrosanity.nim 91ad6a740b type refactor: part 4 (#23077) 4 months ago
semmagic.nim 549ef24f35 fixes #23499; don't skip `addr` when constructing `bracketExpr` (#23503) 1 week ago
semobjconstr.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 1 week ago
semparallel.nim cca5684a17 fixes yet another strictdefs bug (#23069) 4 months ago
sempass2.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
semstmts.nim f682dabf71 fixes #23531; fixes invalid meta type accepted in the object fields (#23532) 1 day 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) 2 weeks ago
semtypes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
semtypinst.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
sighashes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
sigmatch.nim 7657a637b8 refactoring: no inheritance for PType/PSym (#23403) 1 month ago
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 5 months ago
sizealignoffsetimpl.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 4 months ago
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 1 month ago
spawn.nim e51e98997b type refactoring: part 2 (#23059) 4 months ago
suggest.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 1 month ago
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 1 month ago
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 8 months ago
transf.nim 0b0f185bd1 fixes #23536; Stack trace with wrong line number when the proc called inside for loop (#23540) 1 day ago
trees.nim 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) 2 months ago
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
typeallowed.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 4 months ago
types.nim c934d5986d Converted the 'invalid kind for firstOrd/lastOrd(XXX)' messages from internal errors to fatal errors. (#23443) 1 month ago
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
varpartitions.nim b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) 3 months ago
vm.nim 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) 1 month ago
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 4 months ago
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 8 months ago
vmdeps.nim 91ad6a740b type refactor: part 4 (#23077) 4 months ago
vmgen.nim 72d0ba2df5 remove unused magics: mIntToStr, mInt64ToStr, mFloatToStr (#23486) 2 weeks ago
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 8 months ago
vmmarshal.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 2 weeks ago
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) 8 months ago
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 6 months ago
vtables.nim fe18ec5dc0 types refactoring; WIP (#23086) 4 months ago
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 4 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.