Login
Username:

Password:

remember me

Lost Password?

Register now!

Contact us here.
  Main Menu
   Home
Forums
News
   Archive
Images
Headlines
Classifieds
Articles
Too Hot to handle
Recent Topics
  Donations
58%
  Content
  Statement of Intent
  Terms Of Service
  IRC Channel
  Poll Manual
  Radio Amigans
  Staff Members
  Article HowTo
  Links
 In cooperation with:
   OS4Depot.net
   OpenAmiga
   OS4Welt
 Other sites:
   AmigaOS4
   IntuitionBase
   UtilityBase
   Amiga Flame
   Amigaspirit
   AmiKit
   Aminet
   AmiBay
   AmigaBounty
   AmigaWorld
   Exec
  Who's Online
20 user(s) are online (4 user(s) are browsing News)

Members: 4
Guests: 16

samo79, gurus2000, afxgroup, hotrod, more...
  Recent OS4 Files
OS4Depot.net
30 Jul am01:22
 iview.lha
 network/misc

28 Jul pm02:34
 pacdude_hero.lha
 game/action

28 Jul am09:05
 eurochart48.zip
 demo/magazine/eurochart

  Search

Advanced Search
  Themes

(1 themes)
  Recent posts in the forum
Topic Replies Last Post
Timberwolf new alpha 5 (272) afxgroup
Amiga Classic A500+ with Developer PPC 603/150 & Amiga OS 4.0? [1] [2] 28 (832) Sveta
Timberwolf OS4Depot Bug site for Timberwolf 10 (622) tfrieden
OWB Help port GStreamer [1] [2] ... [4] [5] 96 (3898) Troels
New Member Introduction The Resurrection - Made on Amiga album 2 (34) SIID
AmigaOS4 Cooling down SamEp 10 (187) KimmoK
Amigans feedback Python forum and script area? 15 (218) cha05e90
AmigaOS4 Stargus- Starcraft port for OS4.x 14 (1125) 328gts
AmigaOS4 I love this Amiga mouse man ! 16 (462) 328gts
AmigaOS4 AmigaOne X1000 in PC Format 6 (210) 328gts
AmigaOS4 SAM440EP-FLEX and Amiga disks 5 (173) 328gts
AmigaOS4 FFmpeg 0.6 released [1] [2] 34 (1492) TiredOfLife
Too Hot to Handle | Free for All Posts | Topics | Forums    [Settings]
O  Amiga Events : Ruby for AmigaOS 4
Posted by eXec on 16. Dec 2006 - 16:21 (3692 reads) News by the same author
Amiga EventsRuby - a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

Grab it from OS4Depot (version 1.8.5).
Printer Friendly Page Send this Story to a Friend Create a PDF from the article
The comments are owned by the poster. We aren't responsible for their content.
Poster Thread
spotUP
 Re: Ruby for AmigaOS 4
#1
Home away from home
Posts: 670
Posted: 2006/12/16 16:56
any chanse that you'll port rubygame too?
great to see ruby ported!
Snuffy
 Re: Ruby for AmigaOS 4
#2
Home away from home
From: Michigan
Posts: 915
Posted: 2006/12/16 20:32
Hi eXec !

Thanks for this. I fiddle with it for awhile.

I enjoyed Perl port by Andy Broad. Did a few Perl tutorials. I would to learn some Ruby now!
_________________
A1-XE/G4 + OS4 =
...but OS 4.1 is the one to play with now!
AmigaHeretic
 Re: Ruby for AmigaOS 4
#3
Just can't stay away
Posts: 124
Posted: 2006/12/17 4:21
Great news. Always good to have more ways to program for Amiga. Good Job!
Atheist
 Re: Ruby for AmigaOS 4
#4
Home away from home
From: Vancouver, B.C., Canada
Posts: 668
Posted: 2006/12/17 6:31
I see that True Basic is also available. Unfortunately, other than AmigaBasic, AMOS Professional, and some success with AOS CLI commands, I haven't been able to pick up weird layouts for programming languages.

I've tried True Basic, and I've seen Blitz Basic code.

I think it was True Basic that had like "A++" for increment, and "==" for equal, and I'll have nothing to do with that.

Biltz Basic was totally ununderstandable to me.

Perl I've seen, and it's totally incomprehensible.
_________________
Support Amiga Fantasy cases!!!
How to program: 1. Start with lots and lots of 0's. 10. Add 1's, liberally.
"Details for OS 5 will be made public in the fourth quarter of 2007, ..." - Bill McEwen
Whoah!!! He spoke, a bit late.
salass00
 Re: Ruby for AmigaOS 4
#5
Home away from home
From: Finland
Posts: 641
Posted: 2006/12/17 7:34
@Atheist

You don't have to use post/pre-increment if you don't want to. You can always write the longer A=A+1 if that is the way you prefer.

Ruby is a very nice language IMO. Here is a small number to english function I wrote:
http://a500.org/n2e.rb

The program runs without problems with the OS4 ruby.

The program produces the following output:
Quote:

65536 => sixty-five tousand five hundred and thirty-six
15 => fifteen
123 => one hundred and twenty-three
299792458 => two hundred and ninety-nine million seven hundred and ninety-two tousand four hundred and fifty-eight
4294967296 => four billion two hundred and ninety-four million nine hundred and sixty-seven tousand two hundred and ninety-six
18446744073709551067 => eighteen billion four hundred and fourty-six million seven hundred and fourty-four tousand and seventy-three billion seven hundred and nine million five hundred and fifty-one tousand and sixty-seven
1024 => one tousand and twenty-four
503 => five hundred and three
155007 => one hundred and fifty-five tousand and seven
_________________
µA1-C - 750FX 800MHz, 512 MB, 500GB HD (UDMA100), DVD-RW, OS4.1
Sam440ep - 440EP 667MHz, 512MB, 700GB HD, DVD-RW, OS4.1
Elwood
 Re: Ruby for AmigaOS 4
#6
Home away from home
From: Lyon, France
Posts: 552
Posted: 2006/12/17 12:59
tousand => thousand
No ?
_________________
Philippe 'Elwood' FERRUCCI
Sam440 Flex 733Mhz
http://elwoodb.free.fr
salass00
 Re: Ruby for AmigaOS 4
#7
Home away from home
From: Finland
Posts: 641
Posted: 2006/12/17 13:18
@Elwood

Correct. Thought I fixed that already. Must have forgot to save or something...
_________________
µA1-C - 750FX 800MHz, 512 MB, 500GB HD (UDMA100), DVD-RW, OS4.1
Sam440ep - 440EP 667MHz, 512MB, 700GB HD, DVD-RW, OS4.1
Snuffy
 Re: Ruby for AmigaOS 4
#8
Home away from home
From: Michigan
Posts: 915
Posted: 2006/12/17 20:58
hi salass00,

Ruby is a very nice language IMO

How do run a Ruby program -- xx.rb ?

I was expecting a unix shell and see it amiga shell?

I'm a little confused with this "miniruby" build.
_________________
A1-XE/G4 + OS4 =
...but OS 4.1 is the one to play with now!
salass00
 Re: Ruby for AmigaOS 4
#9
Home away from home
From: Finland
Posts: 641
Posted: 2006/12/18 4:12
miniruby programname.rb

When testing programs you've written you should use:

miniruby -w programname.rb

This enables warnings in the interpreter.

No need to use unix shell.

For language details you can check the following sites:
http://ruby-doc.org/
http://www.ruby-lang.org/en/ (official ruby site)

Updated: 2006/12/18 4:20

_________________
µA1-C - 750FX 800MHz, 512 MB, 500GB HD (UDMA100), DVD-RW, OS4.1
Sam440ep - 440EP 667MHz, 512MB, 700GB HD, DVD-RW, OS4.1
ssolie
 Re: Ruby for AmigaOS 4
#10
Amigans Defender
Posts: 629
Posted: 2006/12/19 19:55
Thanks for the port!
_________________
Sam440ep-flex (667) + AmigaOne XE (7455) + A3000D (68030)
Amiga Users of Calgary (AMUC)
Home
  Site Sponsors
Advertise Here
  Featured Donations
  Site Statistics
Registered members
  1222
Logged in last:
  24 hours, 106
  7 days, 199
  30 days, 304
  Random Photo
NetSurf cookie browser
  Polls
Would you buy an X1000 even if OS4 doesn't support the features?
Yes 31 % 31%
Yes, if support arrived within 6 months of purchase 15 % 15%
Yes, if support arrived within 12 months of purchase 17 % 17%
No, I'd wait until it does. 19 % 19%
No, I'll buy an Sam 460 9 % 9%
No, I'll buy an alternative 1 % 1%
No, my Amiga voyage ends that day 4 % 4%
  Top Posters
1
orgin
2325
2
Raziel
1648
3
Mikey_C
1604
4
Chris
1318
5
Antique
1205
6
nubechecorre
1175
7
LiveForIt
1105
8 kas1e 1068
9
ChrisH
1030
10
Snuffy
915
  New Members

djnick
2010/7/30
sun-sense 2010/7/28
impy 2010/7/28

panda
2010/7/22
godofthunder 2010/7/19
sba 2010/7/16
Panabudo 2010/7/15
mykeled123 2010/7/15
Trombi 2010/7/11
L8Knight 2010/7/11
Graphics by Martin "Mason" Merz & Ken "klesterjr" Lester © 2006-2007
Theme by Henning Nielsen Lund & Björn Hagström

Contact the website owners