[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: A good scripting language for busybox?
From:       Pavel A <pavel.aronsky () gmail ! com>
Date:       2017-03-17 15:48:52
Message-ID: 079F7BAD-B400-405A-B9DB-2D72F8CB9887 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks for the suggestion. I am not familiar with yocto. 
If they can cross compile Python (that is very hard, as google results show), it \
would be great. I'll look at it. 

Regards, 
Pavel A 

> On 17 Mar 2017, at 17:23, Laszlo Papp <lpapp@kde.org> wrote:
> 
> Why do you need a scripting language in the busybox project?
> 
> Cannot you just generate the platform with things like a small subset of python \
> using Yocto or something similar? 
> > On Fri, Mar 17, 2017 at 3:20 PM, Pavel Aronsky <pavel.aronsky@gmail.com> wrote:
> > Apologies for maybe a wild or off-topic question.
> > After dealing with quite a few products with busybox and its ash shell used as \
> > the primary scripting language, I'd like to ask you, busybox experts: what are \
> > alternatives? 
> > This page: https://busybox.net/tinyutils.html  - mentions Lua and Micro-perl. I'd \
> > rather perfer a small subset of Python, but cold not find one after a day of \
> > googling (this is surprising. I've been sure such things exists). 
> > However my search hit one interesting Javascript engine named Duktape \
> > (duktape.org). 
> > Javascript looks almost as good as Python for me, it is popular and should be \
> > familiar to new developers. Lua is less familiar, but much better for writing \
> > moderately simple app logic than the *dreadful* shell language. 
> > So the question: how feasible would be inclusion of Lua or Javascript into BB, as \
> > option for systems where one of these languages will be heavy used? 
> > As "plan B": has anyone seen (or thought of) a FFI interface for BB that would \
> > allow to call shared libraries written in C, from ash? 
> > Thanks in advance,
> > 
> > Pavel A.
> > 
> > 
> > 
> > _______________________________________________
> > busybox mailing list
> > busybox@busybox.net
> > http://lists.busybox.net/mailman/listinfo/busybox
> 


[Attachment #5 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto"><div></div><div>Thanks for the suggestion. I \
am not familiar with yocto.&nbsp;</div><div>If they can cross compile Python (that is \
very hard, as google results show), it would be great. I'll look at \
it.&nbsp;</div><div><br></div><div>Regards,&nbsp;</div><div>Pavel \
A&nbsp;</div><div><br>On 17 Mar 2017, at 17:23, Laszlo Papp &lt;<a \
href="mailto:lpapp@kde.org">lpapp@kde.org</a>&gt; wrote:<br><br></div><blockquote \
type="cite"><div><div dir="ltr">Why do you need a scripting language in the busybox \
project?<div><br></div><div>Cannot you just generate the platform with things like a \
small subset of python using Yocto or something similar?</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 17, 2017 at 3:20 PM, \
Pavel Aronsky <span dir="ltr">&lt;<a href="mailto:pavel.aronsky@gmail.com" \
target="_blank">pavel.aronsky@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Apologies for maybe a wild or off-topic \
question.</div><div>After dealing with quite a few products with busybox and its ash \
shell used as the primary scripting language, I'd like to ask you, busybox experts: \
what are alternatives?</div><div><br></div><div>This page: <a \
href="https://busybox.net/tinyutils.html" \
target="_blank">https://busybox.net/tinyutils.<wbr>html</a> &nbsp;- mentions Lua and \
Micro-perl. I'd rather perfer a small subset of Python, but cold not find one after a \
day of googling (this is surprising. I've been sure such things \
exists).</div><div><br></div><div>However my search hit one interesting Javascript \
engine named Duktape (<a href="http://duktape.org" \
target="_blank">duktape.org</a>).</div><div><br></div><div>Javascript looks almost as \
good as Python for me, it is popular and should be familiar to new developers. Lua is \
less familiar, but much better for writing moderately simple app logic than the \
*dreadful* shell language.</div><div><br></div><div>So the question: how feasible \
would be inclusion of Lua or Javascript into BB, as option for systems where one of \
these languages will be heavy used?</div><div><br></div><div>As "plan B": has anyone \
seen (or thought of) a FFI interface for BB that would allow to call shared libraries \
written in C, from ash?</div><div><br></div><div>Thanks in \
advance,</div><div><br></div><div>Pavel A.</div><div><br></div><div><br></div></div> \
<br>______________________________<wbr>_________________<br> busybox mailing list<br>
<a href="mailto:busybox@busybox.net">busybox@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/busybox" rel="noreferrer" \
target="_blank">http://lists.busybox.net/<wbr>mailman/listinfo/busybox</a><br></blockquote></div><br></div>
 </div></blockquote></body></html>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic