Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-22 Thread Devin Garner
I've added beta support for ClojureScript to vsClojure on the visual studio 
gallery for vs2012. Please try it out and let me know how it works.

You can see more details about the post on the ClojureCLR group at 
 http://gplus.to/clojureclr

Thanks,
Devin


On Thursday, March 21, 2013 9:42:52 PM UTC-6, Ambrose Bonnaire-Sergeant 
wrote:

 I'm using Mono on Ubuntu, and I have these errors/failures (including 
 project.clj at the bottom):

 https://gist.github.com/frenchy64/5218783

 This is with commit 3b387f914815e389313897977eb02a9fba89dea2

 Is this to do with my environment?

 Thanks,
 Ambrose

 On Fri, Mar 22, 2013 at 11:09 AM, Ambrose Bonnaire-Sergeant 
 abonnair...@gmail.com javascript: wrote:

 Hi David,

 Excellent work so far!

 I'll have a dig around and see what I find.

 Thanks,
 Ambrose


 On Fri, Mar 22, 2013 at 10:53 AM, dmiller dmill...@gmail.comjavascript:
  wrote:

 Last update on this here:


 The port of core.logic to ClojureCLR that resides here:  
 https://github.com/**dmiller/clr.core.logichttps://github.com/dmiller/clr.core.logic
   
 the datomic piece is not ported.

 All tests run EXCEPT:

 test-binding-map-*
 test-binding-map-as-1
 test-binding-map-constraints-1
 test-unifier-constraints-*
 test-flatteno
 test-unifier-anon-constraints-3
 test-36-unifier-behavior

 These tests mostly involve clojure.core.logic.unifier/unify and 
 .../unifier.
 It is rather daunting to just jump into core.logic and debug this kind 
 of thing, so it might take a while for me to solve this.
 I invite anyone interested in ClojureCLR + core.logic to take a look.

 -David

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.comjavascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  





-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-22 Thread dmiller
I've not seen that behavior on ClojureCLR/Mono before.

What ClojureCLR commit are you using?

On Thursday, March 21, 2013 10:42:52 PM UTC-5, Ambrose Bonnaire-Sergeant 
wrote:

 I'm using Mono on Ubuntu, and I have these errors/failures (including 
 project.clj at the bottom):

 https://gist.github.com/frenchy64/5218783

 This is with commit 3b387f914815e389313897977eb02a9fba89dea2

 Is this to do with my environment?

 Thanks,
 Ambrose

 On Fri, Mar 22, 2013 at 11:09 AM, Ambrose Bonnaire-Sergeant 
 abonnair...@gmail.com javascript: wrote:

 Hi David,

 Excellent work so far!

 I'll have a dig around and see what I find.

 Thanks,
 Ambrose


 On Fri, Mar 22, 2013 at 10:53 AM, dmiller dmill...@gmail.comjavascript:
  wrote:

 Last update on this here:


 The port of core.logic to ClojureCLR that resides here:  
 https://github.com/**dmiller/clr.core.logichttps://github.com/dmiller/clr.core.logic
   
 the datomic piece is not ported.

 All tests run EXCEPT:

 test-binding-map-*
 test-binding-map-as-1
 test-binding-map-constraints-1
 test-unifier-constraints-*
 test-flatteno
 test-unifier-anon-constraints-3
 test-36-unifier-behavior

 These tests mostly involve clojure.core.logic.unifier/unify and 
 .../unifier.
 It is rather daunting to just jump into core.logic and debug this kind 
 of thing, so it might take a while for me to solve this.
 I invite anyone interested in ClojureCLR + core.logic to take a look.

 -David

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.comjavascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  





-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-22 Thread dmiller
We never did any testing of the 1.4.x series under mono.  If it works at 
all, that's just a bonus.

I'd do mono work off the master branch.  lein-clr won't do that directly. 
 You'd have to download, build and set the appropriate environment variable 
to your bin dir.
The current master introduced a bug in the mono build.  I should have that 
fixed tomorrow morning sometime.  

-David


On Friday, March 22, 2013 7:22:54 AM UTC-5, Ambrose Bonnaire-Sergeant wrote:

 Not sure how to tell the commit, but lein-clr has pulled 
 down: clojure-clr-1.4.0-Debug-4.0.zip

 Thanks,
 Ambrose

 On Fri, Mar 22, 2013 at 8:11 PM, dmiller dmill...@gmail.com javascript:
  wrote:

 I've not seen that behavior on ClojureCLR/Mono before.

 What ClojureCLR commit are you using?


 On Thursday, March 21, 2013 10:42:52 PM UTC-5, Ambrose Bonnaire-Sergeant 
 wrote:

 I'm using Mono on Ubuntu, and I have these errors/failures (including 
 project.clj at the bottom):

 https://gist.github.com/**frenchy64/5218783https://gist.github.com/frenchy64/5218783

 This is with commit **3b387f914815e389313897977eb02a**9fba89dea2

 Is this to do with my environment?

 Thanks,
 Ambrose

 On Fri, Mar 22, 2013 at 11:09 AM, Ambrose Bonnaire-Sergeant 
 abonnair...@gmail.com wrote:

  Hi David,

 Excellent work so far!

 I'll have a dig around and see what I find.

 Thanks,
 Ambrose


  On Fri, Mar 22, 2013 at 10:53 AM, dmiller dmill...@gmail.com wrote:

 Last update on this here:


 The port of core.logic to ClojureCLR that resides here:  
 https://github.com/**dmiller/**clr.core.logichttps://github.com/dmiller/clr.core.logic
   
 the datomic piece is not ported.

 All tests run EXCEPT:

 test-binding-map-*
 test-binding-map-as-1
 test-binding-map-constraints-1
 test-unifier-constraints-*
 test-flatteno
 test-unifier-anon-constraints-**3
 test-36-unifier-behavior
  
 These tests mostly involve clojure.core.logic.unifier/**unify and 
 .../unifier.
 It is rather daunting to just jump into core.logic and debug this kind 
 of thing, so it might take a while for me to solve this.
 I invite anyone interested in ClojureCLR + core.logic to take a look.

 -David

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.com

 Note that posts from new members are moderated - please be patient 
 with your first post.
 To unsubscribe from this group, send email to
 clojure+u...@**googlegroups.com

 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@**googlegroups.com.

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .
  
  



  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.comjavascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-21 Thread dmiller
I started a port of core.logic to ClojureCLR.
Repo: https://github.com/dmiller/clr.core.logic

It is not finished yet.  All files load with two exceptions.
(1) I have not ported clojure.core.logic.datomic
(2) there is a problem in the finite domain code with extending fd to the 
integer types.  Specifically, the calls 
in 
https://github.com/dmiller/clr.core.logic/blob/master/src/clojure/core/logic/fd.clj#L231
 
ff.  to macro extend-to-fd defined 
at 
https://github.com/dmiller/clr.core.logic/blob/master/src/clojure/core/logic/fd.clj#L181
 
do not work, causing many, many tests to fail.  I suspect the fix is 
trivial, but did not have time to go bug-hunting this morning. 

-David



On Wednesday, March 20, 2013 10:43:40 AM UTC-5, dmiller wrote:

 core.logic should be trivial to port to ClojureCLR.
 Based on a quick scan, a few changes to JVM lib calls, mostly .write = 
 .Write, a few type hints, UUID = GUID.
 Could be done in short order.

 This would be an easy example to play with a common source for 
  Clojure(JVM | CLR).

 -David


 On Tuesday, March 19, 2013 5:24:34 PM UTC-5, Martin Jul wrote:


 I have made experiments with compiling ClojureScript to .NET code using 
 the Microsoft.JScript JavaScript compiler and for a Hello World application 
 it had a few hiccups in relation to compiling the Google closure-library 
 (the use of future reserved keywords like require and namespace for 
 variables/functions).

 I don't think getting ClojureScript to compile on the CLR it is 
 insurmountable, but some work is needed. 

 My end goal is to have core.logic accessible from .NET code, either by 
 running the ClojureScript version on .NET or by porting it to Clojure CLR. 
 If you would be wonderful if you would help.

 Cheers,
 Martin



-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-21 Thread dmiller
Last update on this here:


The port of core.logic to ClojureCLR that resides here:  
https://github.com/dmiller/clr.core.logic  
the datomic piece is not ported.

All tests run EXCEPT:

test-binding-map-*
test-binding-map-as-1
test-binding-map-constraints-1
test-unifier-constraints-*
test-flatteno
test-unifier-anon-constraints-3
test-36-unifier-behavior

These tests mostly involve clojure.core.logic.unifier/unify and .../unifier.
It is rather daunting to just jump into core.logic and debug this kind of 
thing, so it might take a while for me to solve this.
I invite anyone interested in ClojureCLR + core.logic to take a look.

-David

-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-21 Thread Ambrose Bonnaire-Sergeant
Hi David,

Excellent work so far!

I'll have a dig around and see what I find.

Thanks,
Ambrose

On Fri, Mar 22, 2013 at 10:53 AM, dmiller dmiller2...@gmail.com wrote:

 Last update on this here:


 The port of core.logic to ClojureCLR that resides here:
 https://github.com/**dmiller/clr.core.logichttps://github.com/dmiller/clr.core.logic

 the datomic piece is not ported.

 All tests run EXCEPT:

 test-binding-map-*
 test-binding-map-as-1
 test-binding-map-constraints-1
 test-unifier-constraints-*
 test-flatteno
 test-unifier-anon-constraints-3
 test-36-unifier-behavior

 These tests mostly involve clojure.core.logic.unifier/unify and
 .../unifier.
 It is rather daunting to just jump into core.logic and debug this kind of
 thing, so it might take a while for me to solve this.
 I invite anyone interested in ClojureCLR + core.logic to take a look.

 -David

 --
 --
 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 from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-21 Thread Ambrose Bonnaire-Sergeant
I'm using Mono on Ubuntu, and I have these errors/failures (including
project.clj at the bottom):

https://gist.github.com/frenchy64/5218783

This is with commit 3b387f914815e389313897977eb02a9fba89dea2

Is this to do with my environment?

Thanks,
Ambrose

On Fri, Mar 22, 2013 at 11:09 AM, Ambrose Bonnaire-Sergeant 
abonnaireserge...@gmail.com wrote:

 Hi David,

 Excellent work so far!

 I'll have a dig around and see what I find.

 Thanks,
 Ambrose


 On Fri, Mar 22, 2013 at 10:53 AM, dmiller dmiller2...@gmail.com wrote:

 Last update on this here:


 The port of core.logic to ClojureCLR that resides here:
 https://github.com/**dmiller/clr.core.logichttps://github.com/dmiller/clr.core.logic

 the datomic piece is not ported.

 All tests run EXCEPT:

 test-binding-map-*
 test-binding-map-as-1
 test-binding-map-constraints-1
 test-unifier-constraints-*
 test-flatteno
 test-unifier-anon-constraints-3
 test-36-unifier-behavior

 These tests mostly involve clojure.core.logic.unifier/unify and
 .../unifier.
 It is rather daunting to just jump into core.logic and debug this kind of
 thing, so it might take a while for me to solve this.
 I invite anyone interested in ClojureCLR + core.logic to take a look.

 -David

 --
 --
 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 from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-20 Thread dmiller
core.logic should be trivial to port to ClojureCLR.
Based on a quick scan, a few changes to JVM lib calls, mostly .write = 
.Write, a few type hints, UUID = GUID.
Could be done in short order.

This would be an easy example to play with a common source for  Clojure(JVM 
| CLR).

-David


On Tuesday, March 19, 2013 5:24:34 PM UTC-5, Martin Jul wrote:


 I have made experiments with compiling ClojureScript to .NET code using 
 the Microsoft.JScript JavaScript compiler and for a Hello World application 
 it had a few hiccups in relation to compiling the Google closure-library 
 (the use of future reserved keywords like require and namespace for 
 variables/functions).

 I don't think getting ClojureScript to compile on the CLR it is 
 insurmountable, but some work is needed. 

 My end goal is to have core.logic accessible from .NET code, either by 
 running the ClojureScript version on .NET or by porting it to Clojure CLR. 
 If you would be wonderful if you would help.

 Cheers,
 Martin



-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-19 Thread Devin Garner
I'm not sure how CLR  Javascript are related. However, if you want Clojure 
to translate into javascript, ClojureScript does that. If you're interested 
in helping make a visual studio extension to clojure, vsClojure is open 
source  could use your help. It shouldn't be too hard to modify the 
msbuild script in vsClojure to point to the ClojureScript compiler, instead 
of the ClojureCLR compiler.

-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-19 Thread Martin Jul



 I have made experiments with compiling ClojureScript to .NET code using 
the Microsoft.JScript JavaScript compiler and for a Hello World application 
it had a few hiccups in relation to compiling the Google closure-library 
(the use of future reserved keywords like require and namespace for 
variables/functions).

I don't think getting ClojureScript to compile on the CLR it is 
insurmountable, but some work is needed. 

My end goal is to have core.logic accessible from .NET code, either by 
running the ClojureScript version on .NET or by porting it to Clojure CLR. 
If you would be wonderful if you would help.

Cheers,
Martin

-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Clojure - CLR - JS - Visual Studio Extension

2013-02-19 Thread Eric Greene
I am interested creating an open source CLR version of Clojure which 
compiles to JavaScript and ultimately the creation of an open source 
extension for Visual Studio which provides syntax-highlighting, 
intellisense, automatic compilation on save, etc... of Clojure for 
JavaScript.  Has anyone started down this road?

-- 
-- 
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 from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.