metagn b7b1003e6a fix #pragma pack generation regression in packed case objects (#24461) 2 روز پیش
..
ic 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
plugins 6c4c60eade Adds support for custom ASTs in the Nim parser (#23417) 8 ماه پیش
aliasanalysis.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
aliases.nim 91ad6a740b type refactor: part 4 (#23077) 11 ماه پیش
ast.nim e28d2f42e9 include new concepts in typeclasses, makes containsGenericType work (#24453) 4 روز پیش
astalgo.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 ماه پیش
astmsgs.nim 20698b8057 fixes #23494; Wrong type in object construction error message (#23504) 7 ماه پیش
astyaml.nim 6d7ab08dee refactor: The popular 'r' field is now named 'snippet' (#23829) 4 ماه پیش
bitsets.nim 816589b667 NIR: Nim intermediate representation (#22777) 1 سال پیش
btrees.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
cbuilderbase.nim d8391a5c49 fixes nightlies failures (#24456) 4 روز پیش
cbuilderdecls.nim b7b1003e6a fix #pragma pack generation regression in packed case objects (#24461) 2 روز پیش
cbuilderexprs.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
cbuilderstmts.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgcalls.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgexprs.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgliterals.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgmerge_unused.nim a7133e0594 removed unused sections in codegen (#20976) 2 سال پیش
ccgreset.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgstmts.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgthreadvars.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgtrav.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgtypes.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
ccgutils.nim 7039b8b5bc fixes #23354; [backport] (#23685) 5 ماه پیش
cgen.nim 712f5be7eb cbuilder: use constants for type names, some cleanups (#24438) 5 روز پیش
cgendata.nim 726195d784 cbuilder: second half of cgen (#24432) 1 هفته پیش
cgmeth.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
closureiters.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
cmdlinehelper.nim a24990bd8c fixes #23429; rework `--verbosity` with warnings/hints (#23441) 8 ماه پیش
commands.nim 20043ea09e Implemented `compileOption` for `experimental` to test if a feature i… (#23933) 3 ماه پیش
compiler.nimble 2bb7277a61 Create compiler and nimsuggest packages (#22118) 1 سال پیش
concepts.nim cad8726907 refactor to make sigmatch use LayeredIdTable for bindings (#24216) 1 ماه پیش
condsyms.nim ae9287c4f3 symmetric difference operation for sets via `xor` (#24286) 1 ماه پیش
debuginfo.nim 9c47bb9cc0 happy new year 7 سال پیش
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) 7 ماه پیش
docgen.nim 93c24fe1c5 Fix quoted idents in ctags (#24317) 1 ماه پیش
docgen2.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
enumtostr.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 ماه پیش
errorhandling.nim 02be027e9b IC: progress and refactorings (#22961) 1 سال پیش
evalffi.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
evaltempl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
expanddefaults.nim d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) 2 ماه پیش
extccomp.nim 449106a5a4 use /link before each library linker option on MSVC (#24291) 1 ماه پیش
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 68b2e9eb6a make `PNode.typ` a private field (#24326) 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 6f6e34ebb0 Fix line info used for `UnunsedImport` from subdirectories (#24158) 2 ماه پیش
index.nim 3cf88c2b49 walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes (#14501) 4 سال پیش
injectdestructors.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
installer.ini 77c04092e0 Add linux/loongarch64 support in 'compiler/installer.ini' (#23672) 5 ماه پیش
int128.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 ماه پیش
isolation_check.nim 6ed33b6d61 type graph refactor; part 3 (#23064) 11 ماه پیش
jsgen.nim aa90d00caf fixes #18081; fixes #18079; fixes #18080; nested ref/deref'd types (#24335) 4 هفته پیش
jstypes.nim e51e98997b type refactoring: part 2 (#23059) 11 ماه پیش
lambdalifting.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
layeredtable.nim cad8726907 refactor to make sigmatch use LayeredIdTable for bindings (#24216) 1 ماه پیش
layouter.nim cd4ecddb30 nimpretty: check the rendered AST for wrong output (#23057) 11 ماه پیش
lexer.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 ماه پیش
liftdestructors.nim 05c74d6844 always reinstantiate nominal values of generic instantiations (#24425) 1 هفته پیش
liftlocals.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
lineinfos.nim 7dfadb8b4e stricter set type match, implicit conversion for literals (#24176) 1 ماه پیش
linter.nim aaf6c408c6 make linter use lineinfo to check originating package (#24270) 1 ماه پیش
llstream.nim 2f5cfd6829 fixes nim secret not flushing stdout (#23862) 4 ماه پیش
lookups.nim 75b9d66582 treat resolved symbols on RHS of module qualification as identifiers (#24180) 1 ماه پیش
lowerings.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
macrocacheimpl.nim cf6dd57efe IC: next steps (#16632) 3 سال پیش
magicsys.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
main.nim 732f7752a9 remove nir; succeeded by nif (#23809) 4 ماه پیش
mangleutils.nim fc48c7e615 apply the new mangle algorithm to JS backend for parameters and procs (#23476) 7 ماه پیش
modulegraphs.nim 25c068c070 modulegraphs: added a flag useful for gear2 (#24293) 1 ماه پیش
modulepaths.nim 4eaa3b028c fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168) 10 ماه پیش
modules.nim d0b6b9346e adds a getter/setter for `owner` (#24318) 1 ماه پیش
msgs.nim 651fdbe586 Fixes #23624 "nim check crash" (#23625) 2 ماه پیش
nilcheck.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
nim.cfg aa605da92a `-d:nimPreviewFloatRoundtrip` becomes the default (#24217) 1 ماه پیش
nim.nim 494c24a7ce fixes #23848; The comand `nim gendepend` defaults to ORC (#23851) 4 ماه پیش
nimblecmd.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 ماه پیش
nimconf.nim cca5684a17 fixes yet another strictdefs bug (#23069) 11 ماه پیش
nimeval.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 ماه پیش
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 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
nodejs.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
nodekinds.nim 0c890ff9a7 opensym as node kind + fixed experimental switch (#23892) 3 ماه پیش
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) 7 ماه پیش
options.nim 2864830941 implement type bound operation RFC (#24315) 4 هفته پیش
packagehandling.nim 93ced31353 use strictdefs for compiler (#22365) 1 سال پیش
packages.nim aaf6c408c6 make linter use lineinfo to check originating package (#24270) 1 ماه پیش
parampatterns.nim 538603e01d allow conversions between `var` types of range types and base types (#24037) 2 ماه پیش
parser.nim 00ac961ab1 require `not nil` to be on the same line after a type (#24134) 2 ماه پیش
passaux.nim b8dc58d884 test removing dollar for objects out of system (#20242) 2 سال پیش
passes.nim 3fc87259bd improve passes.nim (#24376) 3 هفته پیش
pathutils.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
patterns.nim fe18ec5dc0 types refactoring; WIP (#23086) 11 ماه پیش
pipelines.nim 7f2e6a1359 exports more helpers that are needed by nif-gear2 (#24247) 1 ماه پیش
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 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
prefixmatches.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
procfind.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 ماه پیش
pushpoppragmas.nim 4bf323d6c4 fixes push warnings for sempass2 (#23603) 2 ماه پیش
readme.md 1ad618d96c clean up the documentation (#22196) 1 سال پیش
renderer.nim 8b39b2df7d fixes #24258; compiler crash on `len` of `varargs[untyped]` (#24307) 1 ماه پیش
renderverbatim.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
reorder.nim c10f84b9d7 fixes #24053; fixes #18288; relax reorder with push/pop pragmas restrictions; no crossing push/pop barriers (#24061) 2 ماه پیش
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 1fddb61b3b Fixes #24369 (#24370) 1 هفته پیش
semcall.nim 67ad1ae159 fix standalone explicit generic procs with unresolved arguments (#24404) 2 هفته پیش
semdata.nim 4091576ab7 implement generic default values for object fields (#24384) 3 هفته پیش
semexprs.nim 67ad1ae159 fix standalone explicit generic procs with unresolved arguments (#24404) 2 هفته پیش
semfields.nim ca5df9ab25 wrap `fields` iterations in `if true` scope [backport] (#24343) 1 ماه پیش
semfold.nim ae9287c4f3 symmetric difference operation for sets via `xor` (#24286) 1 ماه پیش
semgnrc.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
seminst.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
semmacrosanity.nim 75b512bc6a prevent codegen of inactive case fields in VM object constructor nodes (#24442) 1 هفته پیش
semmagic.nim 2af602a5c8 deprecate `NewFinalize` with the ref T finalizer (#24354) 4 هفته پیش
semobjconstr.nim a610f23060 disable weird type inference for object constructors (#24455) 4 روز پیش
semparallel.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
sempass2.nim c71de10608 fixes strictdefs with `when nimvm` (#24409) 2 هفته پیش
semstmts.nim 05c74d6844 always reinstantiate nominal values of generic instantiations (#24425) 1 هفته پیش
semstrictfuncs.nim 3812d91390 alternative, much simpler algorithm for strict func checking (#21066) 1 سال پیش
semtempl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
semtypes.nim 4091576ab7 implement generic default values for object fields (#24384) 3 هفته پیش
semtypinst.nim 05c74d6844 always reinstantiate nominal values of generic instantiations (#24425) 1 هفته پیش
sighashes.nim d43a5954c5 remove nontoplevel type hack + consider symbol disamb in type hash (#23969) 3 ماه پیش
sigmatch.nim 511ab72342 fix subtype match of generic object types (#24430) 1 هفته پیش
sinkparameter_inference.nim 02be027e9b IC: progress and refactorings (#22961) 1 سال پیش
sizealignoffsetimpl.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
sourcemap.nim b387bc49b5 chore: fix some typos (#23412) 8 ماه پیش
spawn.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
suggest.nim 1ad4e80060 fixes #22409; don't check style for enumFieldSymChoice in the function (#23580) 6 ماه پیش
suggestsymdb.nim 899ba01ccf + added nimsuggest support for exception inlay hints (#23202) 8 ماه پیش
syntaxes.nim 9b378296f6 fixes addr/hiddenAddr in strictdefs (#23477) 7 ماه پیش
tccgen.nim 7be2e2bef5 replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436) 1 سال پیش
transf.nim 21420d8b09 fixes #24402; Memory leak under Arc/Orc on inline iterators with nested seq (#24419) 1 هفته پیش
trees.nim 911cef1621 process non-language pragma nodes in templates (#24183) 1 ماه پیش
treetab.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
typeallowed.nim e28d2f42e9 include new concepts in typeclasses, makes containsGenericType work (#24453) 4 روز پیش
types.nim a2031ec6cf remove structural equality check for objects and distinct types (#24448) 5 روز پیش
typesrenderer.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
varpartitions.nim 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) 3 ماه پیش
vm.nim ae9287c4f3 symmetric difference operation for sets via `xor` (#24286) 1 ماه پیش
vmconv.nim db603237c6 Types: Refactorings; step 1 (#23055) 11 ماه پیش
vmdef.nim ae9287c4f3 symmetric difference operation for sets via `xor` (#24286) 1 ماه پیش
vmdeps.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
vmgen.nim efd603eb28 don't cascade vmgen errors in nim check without error outputs (#24365) 4 هفته پیش
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) 7 ماه پیش
vmops.nim b9b24e192a fixes #23932; vmopsDanger for os.getCurrentDir errors (#23934) 3 ماه پیش
vmprofiler.nim e17237ce9d prepare for the enforcement of `std` prefix (#22873) 1 سال پیش
vtables.nim 68b2e9eb6a make `PNode.typ` a private field (#24326) 1 ماه پیش
wordrecg.nim 1324d2e04c Asm syntax pragma (#23119) 11 ماه پیش

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.