[ClojureScript] Re: [ANN] Lumo support in serverless-cljs-plugin

2017-08-24 Thread Andrea Richiardi
Thanks Moe for the code reviews and prompt feedback!

This is a good moment to also re-share Antonio's blog post with the 
compiler 
limitations: 
https://anmonteiro.com/2017/02/compiling-clojurescript-projects-without-the-jvm/
Additionally there is a :source-map bug that needs 
attention: https://github.com/anmonteiro/lumo/issues/132

So early days, but simple lambdas (as they should be) compile and run fine.

 

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: Any chance we can fit ClojureScript into Webpack ecosystem?

2017-05-12 Thread Andrea Richiardi
On Friday, May 12, 2017 at 1:55:24 AM UTC-7, Thomas Heller wrote:
> I'm way too biased towards the Closure Compiler and giving that up is simply 
> not an option for me. I am however very interested in making things simpler 
> for everyone.
> 
> https://github.com/thheller/shadow-devtools/wiki/ClojureScript-for-node.js-libraries
> 


This looks very nice, with a colleague here we event went as far as thinking, 
what if we completely drop GCP support for node.js targets.
We talked about this a bit on Clojurians, I like your idea to get closer to the 
node way. I am not a JS dev at all, but I understand the pain of existing JS 
devs when they approach the ClojureScript world.
They need to change everything they know, not only learn a language but also 
new (JVM) tooling. Many say no thanks, which is a pity because they are missing 
out :D

I have recently worked on a POC using Reason. The tooling is rough but it fits 
the JS ecosystem. The compiler is super fast (faster than Typescript even on my 
machine!). We ended up picking Typescript because of the tooling basically for 
a zero version of our stuff. I already don't like it that much ah ah.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Running clojurescript's own test suite

2017-02-18 Thread Andrea Richiardi
Wow great, can't wait to see thrt. There are a bunch of launchers in the script 
folder. This is how I use to run tests.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] codox-klipse-theme 0.0.1- Clojure[script] automatically generated live documentation

2016-10-11 Thread Andrea Richiardi
On Monday, October 10, 2016 at 9:29:35 AM UTC-7, Yehonathan Sharvit wrote:
> https://github.com/viebel/codox-klipse-theme
> 
> codox is a great tool for generating API documentation from Clojure or 
> ClojureScript source code.

This is very cool stuff thanks!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.


[ClojureScript] Re: In Clojurescript Compiler how to change the namespace?

2015-12-09 Thread Andrea Richiardi
On Tuesday, December 8, 2015 at 5:22:18 AM UTC-8, Zubair Quraishi wrote:
> I try something like:
> 
> (cljs/eval (cljs/empty-state)
> (read-string s)
> {:eval   cljs/js-eval
>  :source-map true
>  :context:expr
>  :def-emits-var true
>  :ns my.namespace
>  }
> (fn [result] result)))
> 
> 
> 
> but my.namespace seems to cause it to not work with no errors

Basically in-ns is a special form and therefore normal rules do not apply. In 
the eval-str :ns key you pass the current namespace so the above cannot work.

I would suggest to have a look at replumb's implementation:
https://github.com/ScalaConsultants/replumb/blob/master/src/cljs/replumb/repl.cljs#L395

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript and Javascript sources lookup

2014-06-04 Thread Andrea Richiardi
On Tuesday, 3 June 2014 16:51:45 UTC+2, Colin Fleming  wrote:
> Sure, anything is of course possible with enough work :-)
> 

Oh yes definitely! Do you know by any chance some good reference on 
implementation strategies for these kind of indexers? I think that the 
spreading of a programming language depends a lot on its tooling, and from what 
I see Clojure has potential but is missing some cool feature and IDE support 
(Cursive aside).
I don't know if am going to start something like this, but it would be a good 
reading regardless.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript and Javascript sources lookup

2014-06-03 Thread Andrea Richiardi
On Tuesday, 3 June 2014 16:37:33 UTC+2, Colin Fleming  wrote:
> Well, implementing symbol resolution is a pretty huge task. I'd estimate it 
> accounts for at least 60% of the time I spend working on Cursive. Cursive's 
> implementation isn't open source, but even if it were it's very tied to the 
> IntelliJ infrastructure and wouldn't be very useful. Cursive is internally 
> structured around an extension API which I'm going to open source along with 
> the current implementations so in theory those implementations could be used 
> with another core indexing engine implementing the same API, but like I say 
> it's a pretty enormous task. You'll need a good indexing engine which is much 
> harder than it sounds - the one in IntelliJ is really amazing, you definitely 
> don't want to develop that yourself if you can avoid it.
> 
> 
> 
> In general, I think it's extremely difficult to retrofit this sort of system 
> into an editor such as LightTable that wasn't designed to use it from the 
> start. IntelliJ's indexing is fundamentally integrated into the 
> infrastructure, it's not something that you could easily bolt on with a 
> plugin.
> 
> 
> 
> 
> 
> 
> On 4 June 2014 02:17, Andrea Richiardi  wrote:
> 
> 
> 
[CUT]

Gotcha! Thanks for the advice, I'll have a look and probably ask on 
LightTable's irc channel...but I doubt that a Clojure newbie can tackle this 
alone (ok...if he can, he will spend a lot of time :)).

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript and Javascript sources lookup

2014-06-03 Thread Andrea Richiardi
On Tuesday, 3 June 2014 15:29:35 UTC+2, Gary Trakhman  wrote:
> Colin, you might find this project helpful, it's what's driving the 
> autocompletion/symbol-info backend for cider-nrepl (you could use cider-nrepl 
> too!): https://github.com/gtrak/cljs-tooling
> 
> 
> 
> 
> On Tue, Jun 3, 2014 at 9:22 AM, Colin Fleming  wrote:
> 
> 
> 
> 
> Hi Andrea,
> 
> CLJS has been a bit of a second-class citizen in Cursive up till now, but I'm 
> actually working on this as we speak. The next version (hopefully in a week 
> or so) should have much better symbol resolution for CLJS, including 
> resolution of Javascript symbols with their corresponding documentation. I'm 
> also planning an easy to use browser REPL, but that will probably not make it 
> in unless I'm very lucky - that'll be the following release.
> 
> 
> 
> 
> Cheers,
> Colin
> 
> 
> 
> 
> 
> 
> On 3 June 2014 23:02, Andrea Richiardi  wrote:
> 
> 
> 
> Hello all,
> 
> 
> 
> I am a Clojure newbie trying to fiddle around with LightTable (ClojureScript) 
> sources. The biggest issue so far is to read and find documentation on 
> Javascript classes (like js/console.log).
> 
> 
> 
> I would like to be able to jump to the Javascript source whenever I have a 
> doubt and neither LightTable now Cursive can find the source when I try to 
> jump (Cursive gives me warnings, for example on (.replace content (js/RegExp. 
> "[ \\t]+$" "gm") ""))) it cannot find js/RegExp).
> 
> 
> 
> 
> 
> 
> Maybe I am missing some configuration in the leiningen script, or in the IDE, 
> therefore my question is, where do I have to put (and how) the Javascript 
> source in order to jump to it when necessary?
> 
> 
> 
> Thanks!
> 
> 
> 
> --
> 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> 
> ---
> 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojurescrip...@googlegroups.com.
> 
> To post to this group, send email to clojur...@googlegroups.com.
> 
> Visit this group at http://groups.google.com/group/clojurescript.
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> 
> --- 
> 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojurescrip...@googlegroups.com.
> 
> To post to this group, send email to clojur...@googlegroups.com.
> 
> Visit this group at http://groups.google.com/group/clojurescript.

Great, I love collaboration between projects! Talking about collaboration, 
Colin, do you think I can include the same tooling system for LightTable? I 
actually have the same problem of symbol resolution and I really would like to 
contribute (maybe with just a plugin at the beginning) to it.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] ClojureScript and Javascript sources lookup

2014-06-03 Thread Andrea Richiardi
Hello all,

I am a Clojure newbie trying to fiddle around with LightTable (ClojureScript) 
sources. The biggest issue so far is to read and find documentation on 
Javascript classes (like js/console.log).

I would like to be able to jump to the Javascript source whenever I have a 
doubt and neither LightTable now Cursive can find the source when I try to jump 
(Cursive gives me warnings, for example on (.replace content (js/RegExp. "[ 
\\t]+$" "gm") ""))) it cannot find js/RegExp).

Maybe I am missing some configuration in the leiningen script, or in the IDE, 
therefore my question is, where do I have to put (and how) the Javascript 
source in order to jump to it when necessary?

Thanks!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.