Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
272 user(s) are online (2 user(s) are browsing News)

Members: 0
Guests: 272

more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post  
AmigaOS4 x1000 onboard network opensource driver in progress: new version [1][2] ... [6][7][8][9] 178 (10001) sacc-dude Today 0:39
AmigaOS4 pegasos2: rom reconstruction [1][2] 22 (564) kas1e Yesterday 23:57
AmigaOS4 Emulation Project - hardware to run AOS4 for 35 euro on QEMU 10 + GPU  passthrough [1][2] ... [5][6][7][8] 155 (26751) smarkusg Yesterday 12:47
AmigaOS4 x1000 hw programmer and CFE bugs [1][2][3][4] 75 (3194) balaton Yesterday 12:21
AmigaOS4 Is your X1000 unstable, and sometimes hangs on bootup? 3 (137) ncafferkey Yesterday 1:26
AmigaOS4 Virtio SCSI driver for AmigaOS4.1FE on QEMU [1][2][3][4] 76 (4392) smarkusg 4/17 22:26
AmigaOS4 ScummVM 2026 [1][2][3][4][5] 97 (6719) Maijestro 4/17 18:11
AmigaOS4 X1000 CFE Patches: Testers Welcome (Fear not: real-time, no reflashing) v.02 NEW! [1][2] ... [6][7][8][9] 167 (6290) balaton 4/17 18:05
AmigaOS4 Emulation Virtio9PFS-handler v0.8.0-beta released 10 (683) smarkusg 4/17 7:47
AmigaOS4 Audio output jack connector saturated on the front panel of the Fractal Design Core 2500 tower? 0 (100) skynet 4/16 20:26
AmigaOS4 Betatest ticklish - ToDo List ;-) [1][2] 35 (4642) gerograph 4/14 11:44
AmigaOS4 Warp3D SI : The fastest card [1][2] ... [7][8][9][10] 197 (173726) K-L 4/12 19:07
AmigaOS4 USB Audio driver for AmigaOS4 [1][2][3] 56 (4995) balaton 4/12 10:25
AmigaOS4 Emotion volume control 2 (247) imagodespira 4/12 8:31
AmigaOS4 x1000 documentation and other x1000 related questions [1][2] ... [5][6][7][8] 149 (41142) K-L 4/11 14:16
[ Free for all]  [ Too Hot To Handle]  [ Classifieds]       [View all Topics]  [View all Forums]  [Forum Settings]
Amiga Events : Ruby for AmigaOS 4
Posted by eXec on 2006/12/16 18:21:53 (6675 reads) News by the same author
Amiga Events

Ruby - 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
The comments are owned by the author. We aren't responsible for their content.
Author Thread
spotUP
Published: 2006/12/16 18:56  Updated: 2006/12/16 18:56
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1494
 Re: Ruby for AmigaOS 4
any chanse that you'll port rubygame too?
great to see ruby ported!
Snuffy
Published: 2006/12/16 22:32  Updated: 2006/12/16 22:32
Just can't stay away
Joined: 12/06/2006
From: Michigan
Comments: 1027
 Re: Ruby for AmigaOS 4
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!
AmigaHeretic
Published: 2006/12/17 6:21  Updated: 2006/12/17 6:21
Just popping in
Joined: 12/05/2006
From:
Comments: 124
 Re: Ruby for AmigaOS 4
Great news. Always good to have more ways to program for Amiga. Good Job!
Atheist
Published: 2006/12/17 8:31  Updated: 2006/12/17 8:31
Quite a regular
Joined: 11/28/2006
From: Vancouver, B.C., Canada
Comments: 759
 Re: Ruby for AmigaOS 4
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.
salass00
Published: 2006/12/17 9:34  Updated: 2006/12/17 9:34
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1914
 Re: Ruby for AmigaOS 4
@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
Elwood
Published: 2006/12/17 14:59  Updated: 2006/12/17 14:59
Just can't stay away
Joined: 12/09/2006
From: Lyon, France
Comments: 1417
 Re: Ruby for AmigaOS 4
tousand => thousand
No ?
salass00
Published: 2006/12/17 15:18  Updated: 2006/12/17 15:18
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1914
 Re: Ruby for AmigaOS 4
@Elwood

Correct. Thought I fixed that already. Must have forgot to save or something...
Snuffy
Published: 2006/12/17 22:58  Updated: 2006/12/17 22:58
Just can't stay away
Joined: 12/06/2006
From: Michigan
Comments: 1027
 Re: Ruby for AmigaOS 4
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.
salass00
Published: 2006/12/18 6:12  Updated: 2006/12/18 6:20
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1914
 Re: Ruby for AmigaOS 4
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)
ssolie
Published: 2006/12/19 21:55  Updated: 2006/12/19 21:55
Amigans Defender
Joined: 11/26/2006
From: Canada
Comments: 986
 Re: Ruby for AmigaOS 4
Thanks for the port!
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1788
Logged in last:
  24 hours, 61
  7 days, 120
  30 days, 196

Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments

Random Photo
Silver Blue Theme

New Articles List

New Members
Gdj24
Gdj24 04/05/2026
simon629
simon629 04/03/2026
Dingopathe
Dingopathe 03/29/2026
john_chandler
john_chandler 03/26/2026
AmigoKI
AmigoKI 03/24/2026
Maniac
Maniac 03/15/2026
Physicist1973
Physicist1973 03/02/2026
nessgg
nessgg 03/01/2026
C16Oli
C16Oli 02/16/2026
vadoheija2
vadoheija2 02/02/2026


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project