summaryrefslogtreecommitdiff
path: root/init-macros.fnl
Commit message (Collapse)AuthorAgeFilesLines
* Move everything to a single fileAndrey Listopadov2023-08-261-1074/+0
| | | | | | | 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.
* fix gensym usageAndrey Listopadov2023-05-081-1/+1
|
* update loop docAndrey Listopadov2022-10-311-48/+50
|
* fix namespace switching when using then in require-as-include scenariosAndrey Listopadov2022-10-311-59/+124
|
* move buf-locals to dir-localsAndrey Listopadov2022-10-311-23/+1
|
* check if namespace symbol is in scope before bindingAndrey Listopadov2022-10-301-1/+1
| | | | | | | Prevents the situation when cljlib was loaded in the REPL which had a side effect on setting the compile-time `current-ns` variable, and thus affected the REPL too, resulting in such macros like `def` and its variants trying to bind to a non-existent namespace.
* remove the :relative require, update installation guide, update docstringsAndrey Listopadov2022-10-291-33/+122
|
* support automatic relative require in the ns macroAndrey Listopadov2022-09-071-21/+37
|
* release v1.0.0Andrey Listopadov2022-08-211-1128/+686
| | | | 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 some namesAndrey Listopadov2022-07-151-11/+11
|
* fix: add a check for lists in loop macro bindingsAndrey Listopadov2022-07-141-15/+45
|
* Add tail-call checking to loop macroArchenoth2021-07-261-0/+47
|
* fix: don't generate mulitarity arglist doc for single-arity functionsAndrey Listopadov2021-07-231-6/+8
|
* release: v0.5.4Andrey Listopadov2021-07-221-37/+21
|
* fix: style changes, and documentation fixesAndrey Listopadov2021-07-171-7/+9
| | | | | | - provide defn as an alias to fn* and change fn* to defn in all files - fix doc for eq function - fix and generate doc for loop macro
* feat(macros): Added Clojure-like loop macroArchenoth2021-07-131-1/+74
|
* refactor library to use new init-macros.fnl featureAndrey Listopadov2021-06-231-0/+1228
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)