YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

New Topic Post Reply
Squirrel-Compiler for Java
noctarius
#1 Posted : Friday, September 23, 2011 10:19:35 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/23/2011(UTC)
Posts: 2
Location: Remscheid, Germany

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hi guys,

it would be interesting if there's a general interest in implementing a Squirrel compiler to compile to native JVM (Java) or at the other hand native CIL (.NET) bytecode, including a small runtime to implement features missing in the original standard libs.

Chris
atai
#2 Posted : Friday, September 23, 2011 6:29:26 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 8/16/2005(UTC)
Posts: 310

Thanks: 18 times
Was thanked: 18 time(s) in 14 post(s)
Think about, say, Lua, which Squirrel is kind of derived from, in terms of history but not code. Why would someone run Lua on JVM or CLR?

noctarius wrote:
Hi guys,

it would be interesting if there's a general interest in implementing a Squirrel compiler to compile to native JVM (Java) or at the other hand native CIL (.NET) bytecode, including a small runtime to implement features missing in the original standard libs.

Chris

noctarius
#3 Posted : Friday, September 23, 2011 7:12:12 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/23/2011(UTC)
Posts: 2
Location: Remscheid, Germany

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Well actually there are Lua bindings for Java. But they do not build them on bytecode but on native lib binding.

Why would someone not use Lua for scripting Java or .NET applications? Possibly I don't got the point but for me there's no reason to not implement stuff by using a scripting language.
pfalcon
#4 Posted : Tuesday, August 6, 2013 1:23:05 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 1/9/2013(UTC)
Posts: 59

Thanks: 1 times
Was thanked: 3 time(s) in 3 post(s)
Two Squirrel "selling points" are: 1) Easy integration with C/C++ and 2) Small size (can be fit in 200K, you won't find any other VHLL which would, people use it on MCUs). (I don't mention sane syntax/semantics - it's obvious.) If you go past these requirements (i.e. you don't use C/C++ or don't care about size), there're *lot* of existing alternatives. For example, canonical embeddable scripting solution for Java is Groovy, but there're also JPython, JRuby, etc., etc. For .NET there's IronPython, etc., etc.

So, having Squirrel reimplemented in Java would sound cool and show that it's a mature language with a lot of usecases. But make sure you actually need that, and can finish/maintain/support such implementation (because hardly anyone else would support/maintain it - see above why people are interested in Squirrel).
atai
#5 Posted : Tuesday, August 6, 2013 6:59:57 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 8/16/2005(UTC)
Posts: 310

Thanks: 18 times
Was thanked: 18 time(s) in 14 post(s)
Implementing in Java or not I don't really care. But note a lot of use is Squirrel in the C/C++ domain. Java plays no role in these applications.
Guest
#6 Posted : Thursday, August 14, 2014 6:40:22 PM(UTC)
Rank: Guest

Groups:
Joined: 7/25/2010(UTC)
Posts: 23

Thanks: 0 times
Was thanked: 1 time(s) in 1 post(s)
Well not true as gaming company's are requiring more IT and developers to know java, this would help squirrel a lot.
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.109 seconds.