magic
magic copied to clipboard
Morgan And Grand Iron Clojure
Magic is not support `ex-message` and `ex-cause`. But clojure-clr already migrated them. Is this intentional or overlooked?
## Problem We used to have only the `mutual-recursion` error (issue #218), but now we have more errors and failures. ``` ~/workspaces/magic-compiler/magic:nos test/all Downloading GitHub Repo: nasser/mage Downloading GitHub Repo:...
There are currently three ways to configure compilation in MAGIC 1. The `magic.flags` dynamic vars 2. Spells 3. Option maps in `magic.api` The divergence is not a result of design...
## Problem The Clojure function related to the error is the following: ```clojure (defn valid-cards-ids "Returns a list of all the valid cards ids." [deck-id & [uuid]] (->> (full-deck deck-id...
## Problem Some changes were introduced since `magic/src/stdlib` was last updated: [clojure-1.10.0...clojure-1.11.1](https://github.com/clojure/clojure/compare/clojure-1.10.0...clojure-1.11.1) ## Suggestion Take inspiration from the [clojure-clr](https://github.com/clojure/clojure-clr/commit/20ba7d3afa7639fc28fcfb0025a5f9173609a83d)
```clj (let [h (System.HashCode.)] (.Add h 1) (.ToHashCode h)) ;; Exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Invalid IL code in expr_382:eval ():...
Hi @nasser, I'm trying to build the MAGIC compiler and I'm at the part where I download and build nostrand. I tried following the instructions on the repo for nostrand...
Hi, I've played around with Arcadia a little bit and I'm rooting for Clojure to make it onto the Nintendo Switch, and so I'd like to help in any way...
``` (clojure.core/= (letfn [(even2 [n] (neven? n)) (neven? [n] (if (zero? n) true (nodd? (dec n)))) (nodd? [n] (if (zero? n) false (neven? (dec n))))] [(even2 91) (even2 90)]) (magic.api/eval...
clojure supports a compiler mode where functions are invoked directly (as static methods) rather than going through vars. we will still need to initialize namespaces the way we do now,...