PuppyLinux : ProgrammingLanguage

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2007-11-23 14:17:19 by Wosh

Additions:

CategoryDevelopment




Edited on 2007-04-17 22:27:20 by BostonVaulter

Additions:
Programming Languages are how people give instructions to the computer. For info see this wikipedia article.

Deletions:
http://en.wikipedia.org/wiki/Programming_language



Edited on 2007-04-03 19:35:02 by BostonVaulter

Additions:
~- Shell Scripting - Is used extensively in Puppy. Here are some examples.



Edited on 2007-04-03 19:32:14 by BostonVaulter

Additions:
~- Note: Puppy can run programs made with these languages, but to write with them you may need other files. See compiling help.

Deletions:
~- Note: Puppy can run programs made with these languages, but to write with them you may need other files. See here compiling help.



Edited on 2007-04-03 19:31:19 by BostonVaulter

Additions:
~- MurgaLua - will be in Puppy 2.16 and greater.



Edited on 2007-04-02 09:33:12 by BostonVaulter

Additions:
~ Puppy will use Murga Lua starting in 2.16 and may include a new control panel.

Deletions:
~ Puppy might use Murga Lua for some things in the future like this control panel.



Edited on 2007-03-20 18:13:34 by BostonVaulter

Additions:
~- MurgaLua - Based on Lua, Overview of Lua on wikipedia

Deletions:
~- MurgaLua - Based on Lua, Overview of Lua on wikipedia



Edited on 2007-03-18 17:06:43 by BostonVaulter

Additions:
C with GTK1 - Gcrontab, Gtkfind, Gtksee, Dillo, SSH gui, Turma, uxplor, xpdq, Xproc.



Edited on 2007-03-18 09:12:42 by BostonVaulter

Additions:
PuppyBASIC - PuppyBackground, PBcdripper, Puppysearch, PBrename Tcl/tk - Tkdvd, Pvolume, TKmines, TKdiff
examples: Network wizard, Pmount, Soxgui, Grafburn, Pfind, Pbackup



Edited on 2007-03-14 21:22:22 by BostonVaulter

Additions:

Programming With Puppy

Shell Scripting Languages are not compiled and are a subset of Interpreted Languages. They are used throughout puppy for many tasks. (examples Bash, Ash)
Shell Scripting - Puppy makes intensive usage of the scripting capabilities of the bash-shell.


Deletions:

This page is about programming in Puppy

Shell Scripting Languages are not compiled and are a subset of Interpreted Languages. They are used throughout puppy for many tasks. (examples Bash, Ash)
Shell Scripting - Puppy makes intensive usage of the scripting capabilities of the bash-shell.




Edited on 2007-03-14 00:06:07 by BostonVaulter

Additions:
PuppyBasic - you're pretty much all set, just check the PuppyBasic page for more help

Deletions:
PuppyBasic you're pretty much all set, just check the PuppyBasic page for more help



Edited on 2007-03-14 00:05:13 by BostonVaulter

Additions:
~- java is not that common, but there are some nice applications already.

Deletions:
~- is not so common, though there are some nice applications already.



Edited on 2007-03-14 00:04:32 by BostonVaulter

Additions:
See Compiling for more info about setting up your environment.
PuppyBasic you're pretty much all set, just check the PuppyBasic page for more help
see also WxBasicscript and WxBasic
Tcl/Tk - You're pretty much alll set also. Check the Tcl/Tk page for more help.




Edited on 2007-03-13 23:43:52 by BostonVaulter

Additions:
forum link - link to bugtracker

Getting Started Actually Programming in Puppy

If you want to program in C then you will need devx_214.sfs (if you are using Puppy2.14)


Deletions:
[http://murga-linux.com/puppy/viewtopic.php?search_id=1045453066&t=16258 forum link] - link to bugtracker



Edited on 2007-03-13 23:40:42 by BostonVaulter

Additions:

Examples of Programming Languages (mostly in Puppy)

Contributing to Puppy

Currently there is no formalized method to contribute code to Puppy. If you want to contribute code just make a post on the forum.
If you would like to help find bugs in Puppy, there is a Mantis bug tracker for Puppy. It is currently only semi-official to the best of my knowledge.
[http://murga-linux.com/puppy/viewtopic.php?search_id=1045453066&t=16258 forum link] - link to bugtracker
Note: If you just want to view the bugs, you can login as login:guest password:guest

Deletions:

Examples of Programming Languages





Edited on 2007-03-13 23:27:14 by BostonVaulter

Additions:

This page is about programming in Puppy

So what is a programming langauage anyway?

Different Types of Languages

The code that a computer executes is binary, 0's and 1's. Humans have great difficulty creating such code directly so we use programming languages to create the binary code.
C and C++ are the core languages used for writing Linux itself.
  • Shell Scripting (Bash/ash) - Puppy uses the bash-shell for a lot of its scripting needs.

    Deletions:

    Programming Language

  • There are probably some not listed here yet. (feel free to add them)
  • Main Types of Languages

    The code that a computer executes is binary, 0's and 1's. Humans have great difficulty creating such code directly.
    C and C++ are the core languages used for writing Linux itself.

    Examples of Programming Languages

    Perl program using Gtk: http://www.murga.org/~puppy/viewtopic.php?t=3755
    Java - jrisk.pup
    Shell Scripting - Puppy makes intensive usage of the scripting capabilities of the bash-shell.
    Example of a Perl program using Gtk: http://www.murga.org/~puppy/viewtopic.php?t=3755
    Java is not so common, though there are some nice applications already.
    Puppy makes intensive usage of the scripting capabilities of the bash-shell.
    http://www.murga.org/~puppy/viewtopic.php?t=11778
    It has no graphical API, but you can use "dialog" in several versions, which is a set of pre-defined windows like a input-box.
    Puppy also has more and more tools written in Puppybasic, which uses the same approach.
    It is a Basicdialect, that MU enhanced with some new functions (based on wxBasic).
    PuppyBasic




    Edited on 2007-03-13 22:55:10 by BostonVaulter

    Additions:
    ~- PuppyBasic - also called WxBasicscript is a modified (and smaller) version of wxBasic with new functions for the Linux platform. PuppyBasic was written by Mark Ulrich
    http://en.wikipedia.org/wiki/Programming_language
    Puppy has a few built-in, and more can be added

    Overview of Languages included in Puppy


    Main Types of Languages


    The code that a computer executes is binary, 0's and 1's. Humans have great difficulty creating such code directly.
    Assembler is a symbolic language humans use to represent each computer instruction, one at a time, which is translated into binary code.
    Macro Assembler uses more powerful constructions that can generate multiple machine instructions from one line of code.
    Interpreters are high-level languages that are translated and executed line-by-line. This is a quick way to develop a program, but the execution is not as efficient. (examples are Java, Ruby, and Python)
    Compilers are high-level languages that are translated into computer code for later execution. (examples are C, C++, Fortran, BASIC) Compiling Help
    The development process may be slower and more tedious, but this maximizes execution speed.
    Shell Scripting Languages are not compiled and are a subset of Interpreted Languages. They are used throughout puppy for many tasks. (examples Bash, Ash)

    C and C++ are the core languages used for writing Linux itself.

    Common Languages


    Other Languages


    Example of a Perl program using Gtk: http://www.murga.org/~puppy/viewtopic.php?t=3755

    Java is not so common, though there are some nice applications already.

    Puppy makes intensive usage of the scripting capabilities of the bash-shell.
    http://www.murga.org/~puppy/viewtopic.php?t=11778

    It has no graphical API, but you can use "dialog" in several versions, which is a set of pre-defined windows like a input-box.

    Puppy also has more and more tools written in Puppybasic, which uses the same approach.
    It is a Basicdialect, that MU enhanced with some new functions (based on wxBasic).
    PuppyBasic

    IDEs: (Integrated Development Environments)
    KDE has Kdevelop
    http://www.kdevelop.org/
    Unfortunately, KDE is quite huge, so not by default in Puppy.
    This might be a good alternative (no package yet):
    http://women.kde.org/articles/tutorials/kdevelop3/
    Qt Designer can use QT without the additional KDE libraries.
    KDE is a desktop based on QT, but also requiring additional libraries.
    An example for a QT application without KDE libraries is the webbrowser Opera.

    A "classic" way to write programs for Puppy would be C / Gtk.
    Tutorials see http://gtk.org
    There also is a "visual" tool:
    http://glade.gnome.org/
    But we have no package for Puppy yet, as most of the programs made for Puppy are based on dialogs/scripts.
    Also Glade might require a full Gnome installation (not sure though), while Puppy only uses the smaller Gtk subset.
    Gnome is a desktop based on the Gtk libraries and many additional Gnome-libraries.
    We only have a testversion of Gnome, it is too bloated to be seriously maintained by us.
    http://www.murga.org/~puppy/viewtopic.php?t=9599&highlight=gnome

    An enhanced editor/IDE without visual designer:
    http://www.murga.org/~puppy/viewtopic.php?t=9077&highlight=mingw
    http://www.murga.org/~puppy/viewtopic.php?t=4413

    for a gui designer for tcl there's visual tcl:
    http://vtcl.sourceforge.net/

    Languages IN Puppy:
    Linux Script (similar to MS Dos batch files - ash and bash) Widely used by GuestToo and Barry
    TclTk - LearnTclTk
    Tcl/tk (pronounced tickle and very powerful and mature)
    XUL - built into Mozilla, may have potential for Puppy.
    Page was generated in 0.6364 seconds