Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Jun 2013, 09:51
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
What programming languages and tools for Slacko?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
puppy_apprentice


Joined: 07 Feb 2012
Posts: 67

PostPosted: 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
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 1564
Location: Germany

PostPosted: 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
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15109
Location: Paradox Realm

PostPosted: 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
View user's profile Send private message Visit poster's website 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 868
Location: .ar

PostPosted: 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.
Code:
perldoc perlfaq


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. Wink

_________________

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2273
Location: Gatineau (Qc), Canada

PostPosted: 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.
Code:
perldoc perlfaq

(...)


Thanks in advance.

_________________
Wink "To err is human; to really foul things up, you need a computer!" / "L'erreur est humaine; pour vraiment f... la m..., il faut un ordinateur." (Carleton University, banderole à la Rentrée 1979 / banner, start of 1979 school year) Wink
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 573

PostPosted: 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! Surprised
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)! Shocked
So, it seems that in some of Puppies Perl is available out-of-the-box. Very Happy
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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 3845

PostPosted: 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
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 868
Location: .ar

PostPosted: 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:
Code:
perivp -pv

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
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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
View user's profile Send private message 
snayak

Joined: 14 Sep 2011
Posts: 191

PostPosted: 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
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2199
Location: UK

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0810s ][ Queries: 12 (0.0110s) ][ GZIP on ]