summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update fennel-test, and add test runner scriptAndrey Listopadov2023-08-284-7/+6
|
* Move everything to a single fileAndrey Listopadov2023-08-263-8/+6
| | | | | | | Now the library is fully self-contained and doesn't require any special flags to be used. Macros are now shipped inside the library itself and can be required by user code by requiring the same module name as the library.
* test for nils in vectorAndrey Listopadov2022-08-261-0/+6
|
* release v1.0.0Andrey Listopadov2022-08-214-890/+830
| | | | Almost complete rewrite of the library, complete with lazy sequences, immutable tables, transients, transducers, better equality semantics, and more correct code generation in macros.
* fix: bump fennel-test to v0.0.3Andrey Listopadov2021-10-173-35/+104
|
* fix: don't generate mulitarity arglist doc for single-arity functionsAndrey Listopadov2021-07-231-16/+19
|
* release: v0.5.4Andrey Listopadov2021-07-223-30/+30
|
* feat(macros): Added Clojure-like loop macroArchenoth2021-07-131-0/+18
|
* refactor library to use new init-macros.fnl featureAndrey Listopadov2021-06-233-3/+3
| | | | | | | | | | | | Old way of requiring the library: (local clj (require :fennel-cljlib) (import-macros cljm :fennel-cljlib.macros) New way: (local clj (require :fennel-cljlib) (import-macros cljm :fennel-cljlib)
* Try multi value returnAndrey Listopadov2021-05-101-1/+13
|
* fix: downgrade fennel to 0.8.1Andrey Listopadov2021-04-241-2/+3
|
* fix: move test library to separate projectAndrey Listopadov2021-04-244-139/+3
|
* fix: update test suite eq function builderAndrey Listopadov2021-03-151-29/+26
| | | | | | This really means that I need to externalize it into separate module and just use everywhere, but Fennel doesn't yet feature stable way to do it unfortunately
* fix: allow `reduced` to return nil and false valuesAndrey Listopadov2021-03-131-1/+7
|
* fix: update macros comparison function builderAndrey Listopadov2021-03-111-11/+11
| | | | No need to modify the metatable in macros.
* feat: add partition take and nthrest functionsAndrey Listopadov2021-02-221-0/+28
|
* fix: release 0.5.1Andrey Listopadov2021-02-192-538/+532
| | | | | | | | - eq will no longer change metamethods of tables - module info is hidden in metatable now - memoize uses proper deep comparison - tests no longer requires searching up in core namespace - memoization test doesn't depend on CPU speed anymore
* fix: fix some links in docsAndrey Listopadov2021-02-171-11/+11
|
* fix(doc): use automatic link resolution in docsAndrey Listopadov2021-02-171-2/+2
|
* fix(core): check if nil is used as table keyAndrey Listopadov2021-02-161-1/+2
|
* fix(tests): fix test macros to correctly report errorsAndrey Listopadov2021-02-162-14/+33
| | | | runtime errors captured via pcall
* improve set iteration performanceAndrey Listopadov2021-02-151-2/+2
|
* fix(macros): correct fn* method definition behaviorAndrey Listopadov2021-02-152-8/+17
| | | | fn* now properly defines `self` as its first argument automatically.
* fix: allow defining methods with fn*Andrey Orst2021-01-261-20/+49
|
* feature: include documentation testing in pipelineAndrey Orst2021-01-241-10/+13
|
* fix: update docsAndrey Orst2021-01-201-14/+10
| | | | preparing to set up docstring validation
* fix: Fennel 0.8.0 enhancementsAndrey Orst2021-01-194-557/+573
| | | | | | | | | | Changelog: - fixed bug in try - reworked pretty printing for sets - handle cycles in sets - use new fennel.view format - reorganized library to make requiring it easier
* fix(macros): fix bug in try, add testsAndrey Orst2020-12-311-0/+32
|
* Revert "feature(core): print empty vectors as [] in the REPL"Andrey Orst2020-11-251-3/+1
| | | This reverts commit 7b02ecaff4e3e884700e4ec6a0ab4db28966dca1
* feature(core): print empty vectors as [] in the REPLAndrey Orst2020-11-251-1/+3
|
* fix(docs): order items in cljlib.md, and add test.mdAndrey Orst2020-11-231-2/+39
|
* feature(core): more hash table functionsAndrey Orst2020-11-211-1/+19
|
* fix: update ordered when removing items.Andrey Orst2020-11-213-43/+208
| | | | WIP: for unordered set
* feature: SetsAndrey Orst2020-11-192-66/+91
|
* feature: major overhaul of documentation, and some housekeepingAndrey Orst2020-11-173-16/+7
| | | | | | | - remove(macros): `fn+` as it seem impractical, and `fn*` can be used instead - rename(def, defonce): `:dynamic` to `:mutable` as dynamic implies dynamic scoping which is not feature of Lua. - doc: generated documentation for macro module.
* fix(core): fix seq function not handling tables with number keysAndrey Orst2020-11-151-2/+2
|
* fix(core): fix reduce-kv and testsAndrey Orst2020-11-151-7/+14
|
* feature(core): implement `reduced`Andrey Orst2020-11-151-0/+13
|
* fix(core): rename seq? to vector?Andrey Orst2020-11-151-10/+10
|
* Feature(doc): upload autogenerated documentation.Andrey Orst2020-11-141-7/+7
|
* fix(core): revert fn* to defn changeAndrey Orst2020-11-133-9/+9
|
* fix(core): refactoringAndrey Orst2020-11-134-32/+33
| | | | | | | - Rename `fn*` to `defn`, `fn&` to `fn+`. - Do not use `fn+` in the core at all, provide it for convenience. - Fix bug in `filter` due to incorrect `cons` implementation. - Update `seq` and `eq` functions in macros
* feature(core): remove macros from core (for loading with macros)Andrey Orst2020-11-131-62/+9
|
* fix(core): improved deep comparisonAndrey Orst2020-11-132-11/+57
|
* fix(core): support string in intoAndrey Orst2020-11-121-1/+8
|
* feature(core): support strings in seqAndrey Orst2020-11-121-2/+5
|
* fix(CI): overhaulAndrey Orst2020-11-124-0/+913