| Author |
Message |
puppy_apprentice

Joined: 07 Feb 2012 Posts: 62
|
Posted: Tue 07 Feb 2012, 16:50 Post subject:
What programming languages and tools for Slacko? |
|
hello i'm new to Puppy Linux
could someone give me links to pets (or tars with binaries that works without problem in Puppy) with your favorite programming languages and tools (latest versions), i've so far downloaded dev*.sfs
or maybe moderators could make sticked thread with list of tested programming languages/tools for Puppy
thx
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Tue 07 Feb 2012, 19:11 Post subject:
|
|
Python
I'd go for Python3. It is a bit of a pain to get some parts of it working (ie tkinter!) You need SDL, TK and TCL. These packages are great.
http://dotpups.de/ITAmember/python/
Java
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
This page explains how, it's quite easy.
Lua
http://www.lua.org/ftp/
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 07 Feb 2012, 19:39 Post subject:
|
|
| puppy_apprentice wrote: |
hello i'm new to Puppy Linux
could someone give me links to pets (or tars with binaries that works without problem in Puppy) with your favorite programming languages and tools (latest versions), i've so far downloaded dev*.sfs
or maybe moderators could make sticked thread with list of tested programming languages/tools for Puppy
thx
|
You may try LazY Puppy http://murga-linux.com/puppy/viewtopic.php?t=74544 that has Bacon and gambas inside the devx and lazarus 0.9.30 and free pascal 2.4.2 http://murga-linux.com/puppy/viewtopic.php?t=74544&start=25 coming as .sfs file.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 07 Feb 2012, 23:00 Post subject:
|
|
Smalltalk, Pharo is the last programming language I tried from here
http://puppylinux.org/wikka/PuppySchoolProgramming
You might like XUL or Vala
http://puppylinux.org/wikka/ValaGenieintro
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Wed 08 Feb 2012, 11:05 Post subject:
|
|
I'm just putting Ruby on my machine. Pet here:
http://dotpups.de/dotpups/Programming/ruby-1.8.6-i486.pet
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 864 Location: .ar
|
Posted: Wed 08 Feb 2012, 13:45 Post subject:
|
|
Perl is always there. If u have the devxxx.sfs, your system already has a full one.
| Code: | | perl -le '$_=o;print,s/./$&$&/g,s/(?!^)(.)(.)/$1^$2^_/eg until$a++>80' |
To get more modules is cpan and for help is perldoc, which shows helps on different modules, pragmas and tasks trough perlfaq's.
There is also Python, C, C++ and off course Bash already in the devxx.
In this forum are pets on Common Lisp and Haskell too.
Have fun.
_________________

|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2193 Location: Gatineau (Qc), Canada
|
Posted: Wed 08 Feb 2012, 17:05 Post subject:
|
|
Hello, GustavoYz.
Please forgive my ignorance, but what do these lines do?
| Quote: | (...)
| Code: | | perl -le '$_=o;print,s/./$&$&/g,s/(?!^)(.)(.)/$1^$2^_/eg until$a++>80' |
To get more modules is cpan and for help is perldoc, which shows helps on different modules, pragmas and tasks trough perlfaq's.
(...) |
Thanks in advance.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 570
|
Posted: Wed 08 Feb 2012, 17:48 Post subject:
|
|
| GustavoYz wrote: | | Code: | | perl -le '$_=o;print,s/./$&$&/g,s/(?!^)(.)(.)/$1^$2^_/eg until$a++>80' |
|
I launched that code in terminal and I saw...Sierpinski's Carpet!
I was going to ask you a question (Perl is an interpreter, but is there a way to compile its code and run it without devx?),
but experimentally I removed devx*.sfs and found that I still can run your code (Lupu-528)!
So, it seems that in some of Puppies Perl is available out-of-the-box.
Unless...maybe un-devx'ed Perl is incomplete..?
Greetings!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 08 Feb 2012, 20:43 Post subject:
|
|
There is awk and jimtcl too. The devx has full tclsh iirc.
Awk is vastly underestimated as a scripting language.
With a quick recompile of gcc, you could have objc, Ada, FORTRAN, go, and java as well.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 864 Location: .ar
|
Posted: Wed 08 Feb 2012, 21:50 Post subject:
|
|
@musher0: First line of code is just for show that perl is there, just an example for copy & paste in CLI [highly obscure one, 'le' option and 'eg' in the second sed does the trick for the main loop -check what happens if you remove those-].
Second one is a good start point, the perlfaq which is a 'index' to other perlfaqs with more specific answers.
| SFR wrote: | | Unless...maybe un-devx'ed Perl is incomplete..? |
Exactly, it lacks of core modules, but still works perfectly and can run scripts (that don't require those modules) without any issue.
This app is there to show you information about what your Perl have and what is missing compared with a full installation:
Missing man pages is usual in Puppy, but info there is the same as in the perldoc's PODs (those are already there, within the modules itself): 'man perlfaq1' is eq to 'perldoc perlfaq1', for example.
Regards.
_________________

|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 09 Feb 2012, 17:23 Post subject:
|
|
I run a programming club at my school and today, just for fun, we drew a shape using "Scratch" before I showed them a python program to draw a fractal (nicked from recent Linux Format magazine!).
Anyway - Scratch is good fun (although it's been a bit of a struggle for me to install!)
There's a .deb package here (although it didn't work for me, I managed to manually install Squeak and then add in the Scratch bits).
http://info.scratch.mit.edu/Scratch_1.4_Download
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Sat 11 Feb 2012, 03:04 Post subject:
|
|
[edit]
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Tue 14 Feb 2012, 17:15 Post subject:
Scratch .pet |
|
Here's a pet for Scratch.
When you've installed it, typing scratch in console should start the VM.
Scratch
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
|
Back to top
|
|
 |
snayak
Joined: 14 Sep 2011 Posts: 191
|
Posted: Fri 17 Feb 2012, 02:13 Post subject:
|
|
Can we use any scripting language like bash for gui programming?
_________________ Machine: Wary 530, AMD Athlon 2000+, ASUS A7N266-VM board, 512MB DDR RAM, 40GB HDD, 52xCDRW, PS/2 Mouse/Keyboard, USB 2.0.
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.com/
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2173 Location: UK
|
Posted: Fri 17 Feb 2012, 06:46 Post subject:
|
|
| snayak wrote: | | Can we use any scripting language like bash for gui programming? |
You can use BASH plus GtkDialog to create GUI programs...
See here: http://murga-linux.com/puppy/viewtopic.php?t=38608
About PERL, I have LONG wanted to fix PERL in the main sfs,
while there are lots of extra PERL stuff in the devx, the main sfs
is missing sme important PERL modules and libs, lib.pm, for example.
This stop thigs like PostgreSQL working, unless you add 'PERL_base' from ubuntu,
which does indeed include lib.pm and other stuff...
Some of the PERL CPAN modules are truly excellent, and if using with
curl, bash+gtkdialog, etc, you could produce some really cool stuff.
However, I have very limited PERL knowledge and have not been able
to update PERL on my system all that much, as I don't know where to start..
I made this in PERL though: http://pplog.scottjarvis.com/
(Actually, only my jQuery knowledge was really needed...)
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
|