ringabout 88f556b486 merge upstream code 1 سال پیش
..
ic 9510e1a55c NIR: An immediate representation for Nim. WIP 1 سال پیش
nir 88f556b486 merge upstream code 1 سال پیش
plugins 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) 1 سال پیش
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
aliases.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
ast.nim f496c0e14c progress 1 سال پیش
astalgo.nim d77ada5bdf Markdown code blocks migration part 9 (#22506) 1 سال پیش
astmsgs.nim b24812df5f properly fix #10053 ; `FieldDefect` msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 3 سال پیش
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 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
ccgcalls.nim 1013378854 fixes a strictdef ten years long vintage bug, which counts the same thing twice (#22549) 1 سال پیش
ccgexprs.nim 8f5b90f886 produce better code for object constructions and 'result' [backport] (#22668) 1 سال پیش
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 4fada54c6b WIP: translate the AST into the IR 1 سال پیش
ccgstmts.nim 326a4592f1 progress 1 سال پیش
ccgthreadvars.nim ca1f3f36b9 no ropes WIP (#20433) 2 سال پیش
ccgtrav.nim 8523b543d6 `getTemp` and friends now return `TLoc` as requested (#22440) 1 سال پیش
ccgtypes.nim d45270bdf7 fixes #22662 Procs with constructor pragma doesn't initialize object's fields (#22665) 1 سال پیش
ccgutils.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
cgen.nim 88f556b486 merge upstream code 1 سال پیش
cgendata.nim 825a0e7df4 fixes #22362; Compiler crashes with staticBoundsCheck on (#22363) 1 سال پیش
cgmeth.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
closureiters.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
cmdlinehelper.nim b2d7761975 Remove Deprecated Nimfix (#22062) 1 سال پیش
commands.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 سال پیش
concepts.nim e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) 1 سال پیش
condsyms.nim bf5d173bc6 fixes LineTooLong hints on old compilers (#22412) 1 سال پیش
debuginfo.nim 9c47bb9cc0 happy new year 8 سال پیش
debugutils.nim 6f4bacff67 Extend and document compiler debugging utilities (#19841) 2 سال پیش
depends.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
dfa.nim f496c0e14c progress 1 سال پیش
docgen.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 سال پیش
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
enumtostr.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
errorhandling.nim 7f6e800caf move assertions out of system (#19599) 2 سال پیش
evalffi.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
evaltempl.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 سال پیش
extccomp.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
filter_tmpl.nim 4c6be40b34 modernize compiler/filter_tmpl.nim (#22407) 1 سال پیش
filters.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
gorgeimpl.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
guards.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
hlo.nim 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) 1 سال پیش
idents.nim 7f6e800caf move assertions out of system (#19599) 2 سال پیش
importer.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 سال پیش
injectdestructors.nim c0ecdb01a9 Fix #21722 (#22512) 1 سال پیش
installer.ini 21d941c16a Atlas: now in its own repository (#22066) 1 سال پیش
int128.nim d677ed31e5 follow up #22549 (#22551) 1 سال پیش
isolation_check.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
jsgen.nim 7fababd583 make float32 literals stringifying behave in JS the same as in C (#22500) 1 سال پیش
jstypes.nim 4ae598762e fixes #21439; Add tyOpenArray to genTypeInfo. (#21440) 1 سال پیش
lambdalifting.nim 0b78b7f595 fix #22548;environment misses for type reference in iterator access n… (#22559) 1 سال پیش
layouter.nim ba698d37c3 some Token refactors (#21762) 1 سال پیش
lexer.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
liftdestructors.nim 5f13e15e0a fixes #22664; guard against potential seqs self assignments (#22671) 1 سال پیش
liftlocals.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
lineinfos.nim d136af0122 modernize lineinfos; it seems that array access hinders strict def analysis like field access (#22420) 1 سال پیش
linter.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
llstream.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
lookups.nim d13aab50cf fixes branches interacting with break, raise etc. in strictdefs (#22627) 1 سال پیش
lowerings.nim 53d43e9671 round out tuple unpacking assignment, support underscores (#22537) 1 سال پیش
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 4 سال پیش
magicsys.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 سال پیش
main.nim df71f4602e baby steps 1 سال پیش
modulegraphs.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 سال پیش
modulepaths.nim d30c6419a0 Refactor and doc package handling, module name mangling (#19821) 2 سال پیش
modules.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 1 سال پیش
msgs.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
ndi.nim 7f6e800caf move assertions out of system (#19599) 2 سال پیش
nilcheck.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
nim.cfg bf5d173bc6 fixes LineTooLong hints on old compilers (#22412) 1 سال پیش
nim.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
nimblecmd.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
nimconf.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
nimeval.nim 2f109595e9 reset macrocache after each script evaluation (#22195) 1 سال پیش
nimlexbase.nim 7f6e800caf move assertions out of system (#19599) 2 سال پیش
nimpaths.nim 088487f652 Implement Markdown definition lists (+ migration) (#20333) 2 سال پیش
nimsets.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
nodejs.nim 8e9fc5e639 a better message if graphviz's dot/nodejs is not found in PATH (#21488) 1 سال پیش
nversion.nim b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659) 1 سال پیش
optimizer.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
options.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
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 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
parser.nim ba158d73dc type annotations for variable tuple unpacking, better error messages (#22611) 1 سال پیش
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 سال پیش
passes.nim afc30ca879 fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702) 1 سال پیش
pathutils.nim 38d299dfc0 fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6] 1 سال پیش
patterns.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
pipelines.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
pipelineutils.nim d51a392149 replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444) 1 سال پیش
platform.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
pluginsupport.nim a325692fb2 refactoring: fewer global variables 6 سال پیش
pragmas.nim 5717a4843d fixes #22676; remove wMerge which is a noop for more than 8 years (#22678) 1 سال پیش
prefixmatches.nim 57bd64582c move tests under the compiler directory to testament (#16096) 4 سال پیش
procfind.nim 4b9eea2fcc Fix forward declarations in shadow scope contexts (#15386) 4 سال پیش
readme.md 1ad618d96c clean up the documentation (#22196) 1 سال پیش
renderer.nim f8f6a3c926 renderIr should print the actual return assign node (#22682) 1 سال پیش
renderverbatim.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
reorder.nim d677ed31e5 follow up #22549 (#22551) 1 سال پیش
rodutils.nim 93ced31353 use strictdefs for compiler (#22365) 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 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
sem.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
semcall.nim 6738f44af3 unify explicit generic param semchecking in calls (#22618) 1 سال پیش
semdata.nim e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) 1 سال پیش
semexprs.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
semfields.nim 20b011de19 refactoring in preparation for better, simpler name mangling that wor… (#21667) 1 سال پیش
semfold.nim bd6adbcc9d fix isNil folding for compile time closures (#22574) 1 سال پیش
semgnrc.nim 3aaef9e4cf block ambiguous type conversion dotcalls in generics (#22375) 1 سال پیش
seminst.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
semmacrosanity.nim da0a2fdca2 Unpack mSlice tupleconstr for static openarrays (#20615) 2 سال پیش
semmagic.nim e6ca13ec85 Instantiates generics in the module that uses it (#22513) 1 سال پیش
semobjconstr.nim affd3f7858 fixes #22613; Default value does not work with object's discriminator (#22614) 1 سال پیش
semparallel.nim f496c0e14c progress 1 سال پیش
sempass2.nim d13aab50cf fixes branches interacting with break, raise etc. in strictdefs (#22627) 1 سال پیش
semstmts.nim 8032f252b2 fixes #22669 constructor pragma doesnt init Nim default fields (#22670) 1 سال پیش
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 2 سال پیش
semtempl.nim 3de8d75513 correct logic for qualified symbol in templates (#22577) 1 سال پیش
semtypes.nim 0c6e13806d fixes internal error: no generic body fixes #1500 (#22580) 1 سال پیش
semtypinst.nim ee4a219012 Fix #17509: Continue instead of return with unfinished generics (#22563) 1 سال پیش
sighashes.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 سال پیش
sigmatch.nim 2a8c759df0 Fix #21742: Check generic alias depth before skip (#22443) 1 سال پیش
sinkparameter_inference.nim 2ebd71bfd4 tiny refactoring related to sink parameter inference logic (#21064) 2 سال پیش
sizealignoffsetimpl.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
sourcemap.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
spawn.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
suggest.nim 6000cc8c0f fix sym of created generic instantiation type (#22642) 1 سال پیش
syntaxes.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
transf.nim 0bf286583a `initNodeTable` and friends now return (#22444) 1 سال پیش
trees.nim f496c0e14c progress 1 سال پیش
treetab.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
typeallowed.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
types.nim 2a8c759df0 Fix #21742: Check generic alias depth before skip (#22443) 1 سال پیش
typesrenderer.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
varpartitions.nim 469c9cfab4 unpublic the sons field of PType; the precursor to PType refactorings (#22446) 1 سال پیش
vm.nim 326a4592f1 progress 1 سال پیش
vmconv.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
vmdef.nim 942f846f04 fix getNullValue for cstring in VM, make other VM code aware of nil cstring (#22527) 1 سال پیش
vmdeps.nim ed9e3cba07 make getType nodes of generic insts have full inst type (#22655) 1 سال پیش
vmgen.nim f496c0e14c progress 1 سال پیش
vmhooks.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
vmmarshal.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
vmops.nim eb83d20d0d Add staticFileExists and staticDirExists (#22278) 1 سال پیش
vmprofiler.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
wordrecg.nim 5717a4843d fixes #22676; remove wMerge which is a noop for more than 8 years (#22678) 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.