| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* simplified proc-like name ident to symbol code
* wip - reworking generic param sem
* wip - closer to removing nkEmpty generic params
* it's hacky but tests pass
* slowly tweaking semProcAux to take on semLambda
* fix pragma superset check proto vs current
* Set the symbol owner earlier
* partial progress reworking proto
found bug where default values between forward and impl lead to overload
resolution issues.
* simplified pragma handling and callConv checks
Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>
* partially working
* cgexprs issue
* It works!
* comment clean-up
* clean-up asserts, comments, and other bits
* add isGenericParams, inline isGeneric queries
* seeing if this is sufficiently consistent
* can use this approach or continue it in a further PR
* commentary about nullary generics and clean-ups
* fixed a mistake in PNode isGenericRoutine
* Some small cleanups
* Small cleanup
* for func lambdas ensure we use lambda pragmas
* add some basic compileTime func tests
* [ci skip] remove comments
Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
|
|
|
|
| |
* followup #16067 --spellSuggest
* enable --spellSuggest by default
* fixup
|
|
|
|
|
|
|
| |
spellings on undefined symbol error (#16067)
* add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors
* implement --spellsuggest with 0 arguments
|
| |
|
| |
|
| |
|
|
|
| |
./koch boot --gc:arc works :D
|
|
|
|
|
| |
* Fix #14325
* Refactor and fix
|
|
|
|
|
| |
* fixes #11225; generic sandwich problems; [backport:1.2]
* progress
* delegating these symbols must be done via 'bind'
|
|
|
|
|
| |
* fix #13491 runnableExamples rendering
* fix a runnableExamples thanks to this bugfix
|
|
|
|
|
|
|
| |
* IC: compilerprocs are handled correctly
* IC: special logic for .exportC'ed procs
* IC: 'hello world' compiles for the first round (2nd round fails)
* IC: hello world seems to work
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* reuse jsffi
* move js json coverage
* fix #17267
* address comments
* Update compiler/main.nim
* Update tests/threads/tjsthreads.nim
|
|
|
|
|
|
|
| |
* Fix #16437
* Fix
* Small cleanup
|
|
|
|
|
|
|
|
|
|
| |
Provides a workaround/fix for #7589.
https://github.com/nim-lang/Nim/issues/7589
Updated docs and tutorial to reflect change.
Updated runnableExamples to include an example.
Co-authored-by: name <name@example.com>
|
|
|
|
|
| |
* fix #17264
* fix vm
* fix js and add tests
|
|
|
|
|
|
|
| |
* IC: respect the -f switch
* IC: better rod file inspection
* progress
|
|
|
|
|
| |
* follow #17245 deprecate refchecks
* changelog
* address comments
|
|
|
|
|
|
| |
* deprecate newruntime
* tests
* Update compiler/commands.nim
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* using deprecated flags triggers a warning
* cleanups
* fixup
* address comments
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* attempt to fix #16374
* fix
|
|
|
|
|
|
| |
This alters the DFA control flow graph generation for case statments.
Gotos are now generated as a chained link, this ensures that evaluation
of variant branches collapses as early as possible, without hitting the
2k call limit.
|
|
|
|
|
| |
* --nilseqs is now a deprecated noop
* fix tests; fix: future => sugar
|
| |
|
|
|
|
|
|
|
| |
https://github.com/timotheecour/Nim/issues/620 (#17184)
* fix code-block test bugs: fix #17183, fix https://github.com/timotheecour/Nim/issues/620
* cleanup
|
|
|
|
|
|
| |
* asyncjs: add then
* improve tests, changelog, API
* fix cryptic windows error: The parameter is incorrect
* address comments
|
|
|
|
|
|
|
|
|
| |
Follow up of https://github.com/nim-lang/nightlies/commit/5dc544e1f521e94874c22ee5209d38460b968243
After updating windeps.zip, it appears that Windows' build was
unchanged. As it turns out, cacert.pem is not set for packaging by the
compiler package manifest.
This commit add cacert.pem to the Windows package.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #15210 [backport:1.2]
* make tests green
* make ordinal work
* makes Swapable test compile
* make Indexable example work
* concepts: 'self' is now 'Self'
* concepts: make Dictionary example compile
* document the new concept implementation
* concepts: make typeDesc work properly
* concepts: allow documentation comments (d'oh)
|
|
|
|
|
|
|
|
|
| |
* remove tests/deps/
* fix tests
* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim
* fixup
|
| |
|
|
|
|
|
|
| |
Checked field expressions, such as an object variant field access results in
occasionally broken address analysis crashing the VM. This guard added here
mimics guarded access in ldObjAddr as well. This is to prevent a crash, while a
fix is devised.
|
|
|
|
|
| |
When statement branches exit early outside of nimvm. In nimvm it seems that all
sides of the branches must be evaluated as the code gen happens at a later
stage, this remains intact.
|
|
|
|
|
|
|
| |
* make rst.nim use object variant
* add workaround
* fix mistake
|
|
|
|
|
| |
* fix js unsigned integer
* Use `std` prefix for standard library modules
* fix #17118
|
|
|
|
|
|
|
|
| |
* Split last read and first write analysis
This improves performance by 10% for some
cases.
* Remove outdated comments
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Analyse last reads all at once
* Integrate firstWrite analysis
* Small cleanup
* Use sets instead of seqs
* Remove instrTargets
* Reap the benefits
* Implement error diagnostics
* Operate on DFA index for lastRead analysis
* Use mgetOrPut
* Cache alias results
This improves performance by a lot, since many
CFG locations map to a single PNode
* Improve performance
* Improve performance
* Cleanup
* Fix #17025
* Grammar
* Expand testcase
|
|
|
|
| |
* make system random work in VM
|