| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Fixes #9698
* Fixes #9699
|
|
|
|
|
|
| |
* fixes #9701
* fixes #9702
* optimize of statement to bool
|
| |
|
|
|
| |
Workarounds #9689
|
|\
| |
| | |
export `asyncdispatch.callSoon` (fixes #7192)
|
| | |
|
| |
| |
| | |
fixes #7670.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* complete future only once in `or`
Analogous to `and`.
Credits to @k0zmo for proposing the solution.
* add test
|
| | |
|
|/
|
|
|
|
| |
* newLit works on enum
* remove debugging echo
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
keep the order of the callbacks
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
* fix wrong utcoffset sign for formats z and zz
* add tests for the timezone offset formats
|
|
|
|
|
|
|
|
| |
* merge tuple tests
* merge trmacros tests
* merge template tests
|
| |
|
| |
|
|
|
|
|
|
| |
* make `mod` on floats available in the VM
* add testcase
* removed no longer needed imports
|
| |
|
| |
|
|
|
|
|
| |
* Added "typeof" and "restrict" to special words.
* Added C and C++ reserved keyword as object field identifier test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix result not being able to use in quote do
This fixes the annoying issue of not be able to use result inside a
quote do block. It works by a simple trick. The quote do mechanic is
based on dynamically creating a template and immediately calling it with
the arguments found within the quote do block. Since this is called in
the scope of the macro the result variable is shadowed. This trick works
by changing all occurences of result (which shouldn't cause any issues
as result isn't used for anything else for the same reason) to another
name and then passing in an IdentNode with result as a named parameter
with that name.
Note that currently this just replaces it with a fixed named variable
"res" which should be changed to a non-colliding, dynamically created
name.
* Fix hard coded parameter "res" to anonymous symbol
This fixes the hard coded parameter "res" to be an anonymous symbol
instead so it won't collide with other parts of the argument list.
* Add test case for result in quote do block
A simple test case based on GitHub issue #7323 on how you can't put
result in a quote do block. This test verifies that it actually works
correctly now.
* Add test for explicit capturing of result
* Rebased against devel
|
| |
|
|
|
|
|
| |
fixes #9545
|
| |
|
| |
|
| |
|
|
|
|
| |
* Consolidated types issue tests
* Consolidated vm issue tests
|
|
|
|
|
| |
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
|
|\
| |
| | |
Closes #6986
|
| | |
|
| |
| |
| | |
Fixes #6154
|
| |
| |
| | |
* Fixes #9434
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove install.txt and readme.txt
* Refactor tests that use readme.txt
* Tests open own source code
|
| |
| |
| |
| |
| |
| |
| |
| | |
* strscans: fix typo
* strscans: fix #9240
* strscans: add tests
|
| |
| |
| | |
Also adds a `treeRepr` renderer for the SQL nodes.
|
| | |
|
|\ \
| |/
|/| |
VM: add int <-> float casts of the same size
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Improve dumpLisp macro
- Remove commas from the lisp representation of the AST.
- Make the dumpLisp output "pretty" and indented.
- Improve docs of `dumpTree` and `dumpLisp` macros.
With:
dumpLisp:
echo "Hello, World!"
Output before this commit:
StmtList(Command(Ident("echo"), StrLit("Hello, World!")))
Output after this commit:
(StmtList
(Command
(Ident "echo")
(StrLit "Hello, World!")))
* Re-use the traverse proc inside treeRepr for lispRepr too
- Add module-local `treeTraverse` proc.
- Also fix treeRepr/dumpTree not printing nnkCommentStmt node contents.
* More doc string updates
* Allow unindented lispRepr output for tests
* Update a test affected by the lispRepr change
* Fix dumpTree
* Add note about lispRepr and dumpLisp to changelog [ci skip]
|
| |/
|/| |
|
| | |
|
|/ |
|