I don't know anything about it, but counterclockwise uses antlr.
http://groups.google.com/group/clojuredev-devel/browse_thread/thread/1428233ef12b6231
-Mike
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" gr
On Sep 4, 4:09 pm, Jonathan Tran wrote:
> This code snippet blows up with a NullPointerException
>
> public class TestClj {
> public static void main(String[] args) throws Exception {
> System.out.println( clojure.lang.Compiler.load(new
> java.io.StringReader("42")) );
> }
>
> }
>
> Exc
This code snippet blows up with a NullPointerException
public class TestClj {
public static void main(String[] args) throws Exception {
System.out.println( clojure.lang.Compiler.load(new
java.io.StringReader("42")) );
}
}
Exception in thread "main" java.lang.ExceptionInInitializerError
Yes, of course...
You need clojure.properties and clojure-keywords.properties to make
autocomplete work.
But you need to change filter.clj=... for filter.lisp because the
standard version of scite don't have a clojure lexer.
You also need clojure.api (this is the key of autocomplete)
If you can'
Would I be able to achieve the auto-complete function with just a properties
file, without having to recompile?
On Fri, Sep 4, 2009 at 11:14 PM, Darmac wrote:
>
> John,
>
> If you want to use this version of SciTE in linux I can send you the
> scite source and you will have to compile it.
> If y
John,
If you want to use this version of SciTE in linux I can send you the
scite source and you will have to compile it.
If you don't want to compile it I can send the properties files in
order to use the lisp lexer with your standard scite version.
Let me know what you want!
On Sep 4, 12:06 p
I just put together some example code to demonstrate "hot updates"
with Clojure.
http://paste.lisp.org/display/86576
It allows you to connect to a REPL via port 12345 and dynamically
update things as necessary. To address the issue of updating multiple
definitions at once, you'd do something lik
Hi Ralph,
First off, nice post! We need more of these types of tutorials on GUI
in clojure, they're very useful.
On make-login-widget you can probably do a doto when you do this part:
> (.addWidget layout (WLabel. "Login:") 0 0 )
> (.addWidget layout login-field 0 1 )
> (.addWidget layout (WLab
Shantanu,
The copy-to-REPL and execute-block-of-code works like this:
1- it copy the selected text in scite to a temp file inside \bin\scite
\tools\SendCommand
2- call SendCommand.exe from the same folder
3- SendCommand will send the content of the temp file to the REPL,
execute it and the delete
> Now I am a complete Erlang novice, but I think OTP has (some kind of)
> built-in support for system upgrades. It might be worth checking out
> to see if there is something we can adapt to Clojure?
There are several tiers of reliability that determine what kinds of
fixes/upgrades you can do.
On Fri, Sep 4, 2009 at 3:35 AM, Fredrik Appelberg <
fredrik.appelb...@gmail.com> wrote:
> On Fri, Sep 4, 2009 at 3:58 AM, J. McConnell wrote:
>
>> On Thu, Sep 3, 2009 at 12:40 PM, Fredrik Appelberg <
>> fredrik.appelb...@gmail.com> wrote:
>>
>>>
>>> I've just released the first tentative version
Not sure if I am the only one - I was not able to make the copy-to-
REPL and execute-block-of-code work using the keyboard shortcuts
mentioned on the URL, nor using any other method. I am using Windows
XP 32-bit with JDK 1.6.0_16.
I look forward to somebody correcting me what I am doing wrong. :-
I like Scite but I also use Linux.
Any guidance on what steps I would need to take to port just the Scite part
of ACV to linux? What specific config files?
Thanks,
On Fri, Sep 4, 2009 at 7:30 PM, Shantanu Kumar wrote:
>
> Not sure if I am the only one - I was not able to make the copy-to-
> RE
Hi,
In using the Jwt library, for which I only found examples in object
oriented languages that structure the code in class definitions and do
heavy usage of instance variables, I was in a situation where I
wondered how I could best structure my code.
With help on the IRC channel I got to a work
On Sep 3, 12:40 pm, Fredrik Appelberg
wrote:
> I've just released the first tentative version of Clojureshell. It's a
> simple maven plugin that allows you to easily start a clojure REPL or run a
> Swank server in the context of any maven project.
Here's a rough-and-ready pom.xml for using the C
Erlang allows two versions of a module to be stored in memory at any
given time. This allows you to do hot code swapping at runtime without
taking down the running server. Clojure can obviously do the same
thing, but Erlang offers a convenient builtin mechanism for shelling
into the running Erlang
On Sep 4, 4:22 am, Krukow wrote:
> I was thinking about the capability of changing production systems on
> the fly. E.g. by having an accessible repl in a running production
> system.
This is a popular list question. The short answer is "no." It might
work for correcting a single, isolated fun
On Sep 4, 1:55 am, Miron Brezuleanu wrote:
> I'm not sure this is an interpreter/compiler issue :-) I think it is
> more of a resource allocation problem, i.e. what features to add to
> Clojure and when.
True, it's that Clojure does not have first-class environments, either
dynamic or lexical.
On Sep 4, 1:38 pm, Christophe Grand wrote:
> You have to be prepared to deal with potential inconsistencies: a
> closure (or any object) can hold a reference to the value of a
> function.
In some circumstances, I am careful to pass vars rather than fns, if I
know they are going to be held. Th
On Sep 4, 1:38 pm, Christophe Grand wrote:
> You have to be prepared to deal with potential inconsistencies: a
> closure (or any object) can hold a reference to the value of a
> function.
OK - I realized this already for running threads, e.g., executing a
function where a var means one thing the
Don't forget about classic stuff, like rigorous testing. I've tried
updating live production systems with Rails before, and it's burned me
(Think bringing down the entire production website). Small changes
you "are sure will work" often have subtle implications in different
environments. A few
2009/9/4 Jarkko Oranen
>
> On Sep 4, 11:22 am, Krukow wrote:
> > I was thinking about the capability of changing production systems on
> > the fly. E.g. by having an accessible repl in a running production
> > system.
> >
> > If you have a bug in a function, you can fix it by re-def'ing it -
> >
On Sep 4, 11:22 am, Krukow wrote:
> I was thinking about the capability of changing production systems on
> the fly. E.g. by having an accessible repl in a running production
> system.
>
> If you have a bug in a function, you can fix it by re-def'ing it -
> that is great. However, suppose you wan
You have to be prepared to deal with potential inconsistencies: a
closure (or any object) can hold a reference to the value of a
function.
(defn foo [x] (str x "v1"))
(def s (map foo [:a :b :c]))
(defn foo [x] (str x "v2"))
s ; (":av1" ":bv1" ":cv1")
Christophe
On Fri, Sep 4, 2009 at 10:22 AM,
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
If you have a bug in a function, you can fix it by re-def'ing it -
that is great. However, suppose you want to do a system upgrade where
you want to cha
On Fri, Sep 4, 2009 at 9:35 AM, Fredrik Appelberg <
fredrik.appelb...@gmail.com> wrote:
>
>
> On Fri, Sep 4, 2009 at 3:58 AM, J. McConnell wrote:
>
>> On Thu, Sep 3, 2009 at 12:40 PM, Fredrik Appelberg <
>> fredrik.appelb...@gmail.com> wrote:
>>
>>>
>>> I've just released the first tentative vers
On Fri, Sep 4, 2009 at 3:25 AM, Mark Derricutt wrote:
> Cool, I've meaning to reply to your post about merging that into
> maven-clojure-plugin but have been snowed under at $work this week. I've
> never actually looked at swank but from what I understand of it it'd be darn
> useful.
Swank/Sli
Well, I was a little quick. NetBeans seems to work ok
but JSwat still doesn't show any line number information.
I had made sure that all JVM had been shutdown prior to my re-testing,
so go figure.
On Sep 3, 11:56 pm, Bokeh Sensei wrote:
> FIXED!
>
> I found in the Java Preferences -> Advanced -
On Fri, Sep 4, 2009 at 3:58 AM, J. McConnell wrote:
> On Thu, Sep 3, 2009 at 12:40 PM, Fredrik Appelberg <
> fredrik.appelb...@gmail.com> wrote:
>
>>
>> I've just released the first tentative version of Clojureshell. It's a
>> simple maven plugin that allows you to easily start a clojure REPL or
29 matches
Mail list logo