For more info on core/context
see: https://github.com/weavejester/compojure/wiki/Nesting-routes
Alan
On Friday, February 12, 2016 at 2:40:30 PM UTC-8, JvJ wrote:
>
> I'm just starting to use ring/compojure to create web apps.
>
> One thing I would like to do is have an updatable collection of ap
Ru,
Take a look at the approach used by Clara
(https://github.com/rbrush/clara-rules.) It works in both Clojure and
ClojureScript. It translates the DSL using eval at macro-expansion time to
generate the productions - see defsession.
Will take a look at rete4frames again when I get a chance.
To add to the list, I wrote `defpatterned` for /Functional Programming for the Object-Oriented Programmer/. https://github.com/marick/patterned There are probably many others.
Moving pattern matching closer to `clojure.core` might be a good thing for a roadmap. I'm pretty excited by pattern-match
What / Where?
Boot new — a task to produce new projects from Boot and/or Leiningen templates!
boot-new 0.4.0 — https://github.com/seancorfield/boot-new
Updates?
Now supports generators to add / modify code in the current project!
Add a new namespace with: boot new –g ns=foo.bar.quux
Add a new func
Many thanks for the explanations. I will be experimenting to deside where
to go further.
-Ru
суббота, 13 февраля 2016 г., 18:25:46 UTC+3 пользователь ru написал:
>
> Dear ClojureScript users and team!
>
> Without "eval" function ClojureScript can't be recognized as a
> full-fledged LISP. "Code
On 13 February 2016 at 18:58, ru wrote:
> I think macros can't be of much help in my task. I am working on project
> rete4frame (https://github.com/rururu/rete4frames) and now want to port
> it to ClojureScript. It is CLIPS-like expert system shell with simplified
> version of RETE algorithm. It
If you need eval then you need to be OK with pulling in a lot of code and
giving up Closure advanced optimizations and dead code elimination.
Whatever small size savings an interpreter might offer, it would still
suffer from this fundamental problem.
David
On Sat, Feb 13, 2016 at 1:58 PM, ru wro
I think macros can't be of much help in my task. I am working on project
rete4frame (https://github.com/rururu/rete4frames) and now want to port it
to ClojureScript. It is CLIPS-like expert system shell with simplified
version of RETE algorithm. It has its own language with LISP syntax and it
i
On 13 February 2016 at 17:11, ru wrote:
> First thing that comes to my mind is MAXIMA Computer Algebra Program from
> LISP ecosystem. That is a system for the manipulation of symbolic and
> numerical expressions, including differentiation, integration and many
> other useful things. It will be n
That I understand. Only one more question. Can I unload ClojureScript
Compiler after I done with "eval"? This scenario is suitable very well to
my task.
-Ru
суббота, 13 февраля 2016 г., 18:25:46 UTC+3 пользователь ru написал:
>
> Dear ClojureScript users and team!
>
> Without "eval" function Cl
ru,
eval is there in clojurescript. It's just in a separate namespace. This is
a good thing, because it leads to big space savings in the regular case.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@goo
First thing that comes to my mind is MAXIMA Computer Algebra Program from
LISP ecosystem. That is a system for the manipulation of symbolic and
numerical expressions, including differentiation, integration and many
other useful things. It will be nice to have such a power in
ClojureScript, is'
While eval is an important part of Clojure, it's also very rarely used.
I've been working with Clojure for almost eight years now, and I've written
60 Clojure libraries. Despite that, I've used eval less than half a dozen
times.
Having a way of evaluating ClojureScript in ClojureScript is a nice
m
All we know that JIT is a Just In Time compiler and that JIT is an
important part of Java compiler nowerdays. Maybe JIT ideas can be applied
to ClojureScript "eval problem" solution?
-Ru
суббота, 13 февраля 2016 г., 18:25:46 UTC+3 пользователь ru написал:
>
> Dear ClojureScript users and team!
LISP implementations often have a compiler and an interpreter
simulteniously. As I know LISP interpreter is a very simple program and
often used as an example in classes. Maybe ClojureScript should include
such interpreter for such important task as evaluation of dinamically
generated code?
-
Clojurescript does have eval, in the cljs.js namespace:
https://crossclj.info/ns/org.clojure/clojurescript/1.7.228/cljs.js.cljs.html#_eval
Take a look at http://yogthos.net/posts/2015-11-12-ClojureScript-Eval.html for
an example and https://swannodette.github.io/2015/07/29/clojurescript-17/ for
som
ClojureScript has cljs.js/eval, which while not as convenient as
clojure.core/eval, can accomplish the same effect.
The reason why ClojureScript doesn't have a standard eval is because it
adds a huge amount of overhead for relatively little gain. You need to load
the entire ClojureScript compiler
Dear ClojureScript users and team!
Without "eval" function ClojureScript can't be recognized as a full-fledged
LISP. "Code as data" paradigm can't be implemented without "eval". What
purpose of code constructed programmatically, if it can not be evaluated?!
In that sence plain old JavaScript is
Thanks James,
There was definitely a missing aggregation step in there. I appreciate your
eyeballing it.
Best,
Nathan
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts fro
19 matches
Mail list logo