This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Android REPL on Kawa - unable to create functions on the fly



Per Bothner wrote:
> 
> On 01/26/2012 04:09 AM, Helmut Eller wrote:
>> Setting gnu.expr.ModuleExp:compilerAvailable makes it possible to
>> evaluate lambdas.
> 
> What do you think of the attached  patch?
> I'm hoping you don't need to tweak alwaysCompiler or compilerAvalable
> any more.
> 

That'd work. The other alternative is to use a different kawa.jar when
building through tweaking the classpath in build.xml. 

<java failonerror="true" fork="true" classname="kawa.repl">
  <classpath>
    <pathelement path="../kawa/kawa-1.11.jar"/>
    <pathelement path="${sdk.dir}/platforms/${target}/android.jar"/>
    <pathelement path="${out.classes.absolute.dir}"/>
  </classpath>
  <arg value="-d"/> <arg path="${out.classes.absolute.dir}"/>
  <arg line="-P kawa.android. --warn-undefined-variable --module-static-run
--warn-invoke-unknown-method --warn-as-error"/>
  <arg value="-C"/>
  <arg file="src/kawa/android/hello.scm"/>
</java>

-- 
View this message in context: http://old.nabble.com/Android-REPL-on-Kawa---unable-to-create-functions-on-the-fly-tp33206786p33221825.html
Sent from the Sourceware - kawa list mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]