Programming and Scripting :: Programming with DSL



Quiet here.

I've been using DSL for development work - I use mostly scripting languages for research prototypes and such. Currently most of my work is in Lua.

Lua is a great match for DSL - not only is a version of Lua 4 built into the base (It's used for many of the GUI tools like the control panel), but a more up-to-date Lua 5 can be downloaded in binary format and installed with no problem. It's only 116K.

I've installed Ruby and Python and they work well. I have also installed the gcc package and I find that it is not very useful. Too many libraries and header files missing.

I would like to see a .uci with GCC and a nice selection of header files and libraries.  I'm considering putting together a .uci for Squeak Smalltalk as well.

Anyone else using DSL for development work?

 - Tom

(As background: I run DSL off a 256M USB Flashdrive on a fanless, diskless computer).

That would be a huge extension =o)

I have two "full" linux systems which I use for compiling applications (I don't know programming), so gcc and headers just haven't been a worthwhile venture for me.

I do, however, have a mild obsession with scripting.  I'm not saying I'm damn good, but i enjoy it.  Bash is essential.  I've been slowly building my knowledge of Flua for the past few months, and a couple of days ago also began to pick up Tcl (look for an updated tcltk extension soon).  The thing about these two that really impresses me is they can be used either as straight script in the way Bash is used, or can be extended to provide a way to build graphical interfaces....i think it's amazing that you can to this using a text file, no compiling needed.

I don't really have any desire at this point to get into more complex programming, but there is a lot a person can do with a little scripting knowledge and some creativity.

I've built a few kernel modules using my own gcc-2.95 extension but that's relatively easy since you don't need much in the way of libraries. DSL is actually fairly close (in terms of software) to an embedded PowerPC target I'm developing for (2.4.27 kernel, busybox, etc.) so running it in QEMU gave me a great way to do kernel module development on a virtual target before my hardware was available :)

Now that I'm using DSL more and more as a desktop OS, I would like to be able to build some GTK+ 2.x apps but my initial half hearted attempt to get all the necessary -dev packages installed through apt proved fruitless. I agree that a nice big dsl-dev.uci package with a boatload of header files and libraries would be nice, but I've a hunch that setting up such a beast would be a major undertaking.

Of course the header files are usually located somewhere besides /opt, so such a *.uci package would be a special undertaking.

But I am sure that with enough dedication and creativity it can be done.  Good Luck.

Fortunately most applications allow the use of CPPFLAGS, pointing to specific includes directories.
Next Page...
original here.