ringabout 3730b1d263 Update compiler/liftdestructors.nim 1 anno fa
..
ic 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 anno fa
plugins 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) 1 anno fa
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
aliases.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
ast.nim 17e10fde70 fixes #22664; guard again seqs self assignment 1 anno fa
astalgo.nim d77ada5bdf Markdown code blocks migration part 9 (#22506) 1 anno fa
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 3 anni 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 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
ccgcalls.nim 1013378854 fixes a strictdef ten years long vintage bug, which counts the same thing twice (#22549) 1 anno fa
ccgexprs.nim 17e10fde70 fixes #22664; guard again seqs self assignment 1 anno 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) 2 anni fa
ccgreset.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
ccgstmts.nim 8523b543d6 `getTemp` and friends now return `TLoc` as requested (#22440) 1 anno fa
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 anni fa
ccgtrav.nim 8523b543d6 `getTemp` and friends now return `TLoc` as requested (#22440) 1 anno fa
ccgtypes.nim d45270bdf7 fixes #22662 Procs with constructor pragma doesn't initialize object's fields (#22665) 1 anno fa
ccgutils.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
cgen.nim 20cbdc2741 Fix #22366 by making nimlf_/nimln_ part of the same line (#22503) 1 anno fa
cgendata.nim 825a0e7df4 fixes #22362; Compiler crashes with staticBoundsCheck on (#22363) 1 anno fa
cgmeth.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
closureiters.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
cmdlinehelper.nim b2d7761975 Remove Deprecated Nimfix (#22062) 1 anno fa
commands.nim a108a451c5 Improve compiler cli args (#22509) 1 anno fa
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 anno fa
concepts.nim e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) 1 anno fa
condsyms.nim bf5d173bc6 fixes LineTooLong hints on old compilers (#22412) 1 anno fa
debuginfo.nim 9c47bb9cc0 happy new year 8 anni fa
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 anni fa
depends.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
dfa.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
docgen.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 anno fa
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
enumtostr.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
errorhandling.nim 7f6e800caf move assertions out of system (#19599) 2 anni fa
evalffi.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
evaltempl.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 anno fa
extccomp.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
filter_tmpl.nim 4c6be40b34 modernize compiler/filter_tmpl.nim (#22407) 1 anno fa
filters.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
gorgeimpl.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
guards.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) 1 anno fa
idents.nim 7f6e800caf move assertions out of system (#19599) 2 anni fa
importer.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 anni fa
injectdestructors.nim c0ecdb01a9 Fix #21722 (#22512) 1 anno fa
installer.ini 21d941c16a Atlas: now in its own repository (#22066) 1 anno fa
int128.nim d677ed31e5 follow up #22549 (#22551) 1 anno fa
isolation_check.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
jsgen.nim 7fababd583 make float32 literals stringifying behave in JS the same as in C (#22500) 1 anno fa
jstypes.nim 4ae598762e fixes #21439; Add tyOpenArray to genTypeInfo. (#21440) 1 anno fa
lambdalifting.nim 0b78b7f595 fix #22548;environment misses for type reference in iterator access n… (#22559) 1 anno fa
layouter.nim ba698d37c3 some Token refactors (#21762) 1 anno fa
lexer.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
liftdestructors.nim 3730b1d263 Update compiler/liftdestructors.nim 1 anno fa
liftlocals.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
lineinfos.nim d136af0122 modernize lineinfos; it seems that array access hinders strict def analysis like field access (#22420) 1 anno fa
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
llstream.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
lookups.nim d13aab50cf fixes branches interacting with break, raise etc. in strictdefs (#22627) 1 anno fa
lowerings.nim 53d43e9671 round out tuple unpacking assignment, support underscores (#22537) 1 anno fa
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 anni fa
magicsys.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 anno fa
main.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
modulegraphs.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 anno fa
modulepaths.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) 2 anni fa
modules.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 1 anno fa
msgs.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 anni fa
nilcheck.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
nim.cfg bf5d173bc6 fixes LineTooLong hints on old compilers (#22412) 1 anno fa
nim.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
nimblecmd.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
nimconf.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
nimeval.nim 2f109595e9 reset macrocache after each script evaluation (#22195) 1 anno fa
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) 2 anni fa
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 anni fa
nimsets.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
nodejs.nim 8e9fc5e639 a better message if graphviz's dot/nodejs is not found in PATH (#21488) 1 anno 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 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
options.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno 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 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
parser.nim ba158d73dc type annotations for variable tuple unpacking, better error messages (#22611) 1 anno fa
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 anni fa
passes.nim afc30ca879 fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702) 1 anno fa
pathutils.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] 1 anno fa
patterns.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
pipelines.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 1 anno fa
platform.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 anni fa
pragmas.nim 6b955ac4af properly fold constants for dynlib pragma (#22575) 1 anno fa
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) 4 anni fa
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) 4 anni fa
readme.md 1ad618d96c clean up the documentation (#22196) 1 anno fa
renderer.nim 4f891aa50c don't render underscore identifiers with id (#22538) 1 anno fa
renderverbatim.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
reorder.nim d677ed31e5 follow up #22549 (#22551) 1 anno fa
rodutils.nim 93ced31353 use strictdefs for compiler (#22365) 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 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
sem.nim e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) 1 anno fa
semcall.nim 6738f44af3 unify explicit generic param semchecking in calls (#22618) 1 anno fa
semdata.nim e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) 1 anno fa
semexprs.nim 480e98c479 resolve unambiguous enum symchoices from local scope, error on rest (#22606) 1 anno fa
semfields.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) 1 anno fa
semfold.nim bd6adbcc9d fix isNil folding for compile time closures (#22574) 1 anno fa
semgnrc.nim 3aaef9e4cf block ambiguous type conversion dotcalls in generics (#22375) 1 anno fa
seminst.nim 23f3f9ae2c better initialization patterns for seminst (#22456) 1 anno fa
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) 2 anni fa
semmagic.nim 8f7aedb3d1 Add `hasDefaultValue` type trait (#22636) 1 anno fa
semobjconstr.nim affd3f7858 fixes #22613; Default value does not work with object's discriminator (#22614) 1 anno fa
semparallel.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
sempass2.nim d13aab50cf fixes branches interacting with break, raise etc. in strictdefs (#22627) 1 anno fa
semstmts.nim 53d9fb259f don't update const symbol on const section re-sems (#22609) 1 anno fa
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 2 anni fa
semtempl.nim 3de8d75513 correct logic for qualified symbol in templates (#22577) 1 anno fa
semtypes.nim 0c6e13806d fixes internal error: no generic body fixes #1500 (#22580) 1 anno fa
semtypinst.nim ee4a219012 Fix #17509: Continue instead of return with unfinished generics (#22563) 1 anno fa
sighashes.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 anno fa
sigmatch.nim 2a8c759df0 Fix #21742: Check generic alias depth before skip (#22443) 1 anno fa
sinkparameter_inference.nim 2ebd71bfd4 tiny refactoring related to sink parameter inference logic (#21064) 2 anni fa
sizealignoffsetimpl.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
sourcemap.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
spawn.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
suggest.nim 6000cc8c0f fix sym of created generic instantiation type (#22642) 1 anno fa
syntaxes.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
transf.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 anno fa
trees.nim 602f537eb2 allow non-pragma special words as user pragmas (#22526) 1 anno fa
treetab.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
typeallowed.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
types.nim 2a8c759df0 Fix #21742: Check generic alias depth before skip (#22443) 1 anno fa
typesrenderer.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
varpartitions.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 anno fa
vm.nim d8ffc6a75e minor style changes in the compiler (#22584) 1 anno fa
vmconv.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 anno fa
vmdeps.nim ed9e3cba07 make getType nodes of generic insts have full inst type (#22655) 1 anno fa
vmgen.nim 2542dc09c8 use dummy dest for void branches to fix noreturn in VM (#22617) 1 anno fa
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 anno fa
vmmarshal.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) 1 anno fa
vmprofiler.nim 93ced31353 use strictdefs for compiler (#22365) 1 anno fa
wordrecg.nim 602f537eb2 allow non-pragma special words as user pragmas (#22526) 1 anno 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.