basilisp
basilisp copied to clipboard
A Clojure-compatible(-ish) Lisp dialect targeting Python 3.8+
Hi, can you please review patch to port `clojure.pprint` to Basilisp. It addresses #513 The approach taken aimed at minimizing modifications to the original code. There are two commits in...
Basilisp should support loading Clojure libs and [`.cljc` files](https://clojure.org/guides/reader_conditionals#_introduction) natively.
To reproduce 1. Open up a REPL, and enter a string with double quotes, they are not escaped in the output (messing up with syntax highlighting) ``` clojure basilisp.user=> "\"abc\""...
Currently, Basilisp copies the standard streams into its own versions at startup: ```clojure (def ^:dynamic *in* sys/stdin) (def ^:dynamic *out* sys/stdout) (def ^:dynamic *err* sys/stderr) ``` But if the Python...
Hi, as per its docstring, `basilisp.core/load`ed files are not cached and will be reread every-time they are loaded: ``` Note that unlike ``require``\\, files loaded by ``load`` will not be...
Fixes #873 Users could probably stumble into some bizarre behavior with these until #839 is completed since the except hook functions use `sys.stderr` by default, which does not always track...
Basilisp should have a dynamic Var which is an except hook which can be installed at `sys.excepthook` to allow for customizing exceptions from Basilisp code.
Hi, could you please consider an attempt to implement the core `proxy` fn. It partially fixes #425 . In addition to interfaces, the fn can implement/override fn of any python...
Currently, info messages and warnings are simply emitted by the Basilisp compiler (analyzer) logger, which is just a standard Python logger. Errors are generally exceptions which immediately stop the compilation...
Hide the arity dispatch map for multi-arity functions with `@runtime._basilisp_fn` decorator and a self-reference within the arity dispatch function.