Compiling OpenSees with Ruby

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
hugo.esquivel
Posts: 71
Joined: Sat Nov 29, 2008 10:18 am
Location: -

Compiling OpenSees with Ruby

Post by hugo.esquivel »

Hi Frank.

As far I know,
----------------------
OpenSees' User Interface = OpenSees Interpreter + Tcl.
----------------------

But rather than using Tcl, do you think I could compile OpenSees using the Ruby Interpreter? (Ruby is also a high programming language). Or I will have to modify some piece of code in the OpenSees Framework in order to get it work?

I mean,
----------------------
OpenSees' User Interface = OpenSees Interpreter + Ruby.
----------------------

Any comment will be greatly appreciated. :D

Regards.

PS:
1. I'm considering Phyton too.
2. Compilation will take place on Mac OS X 10.5.8 (Leopard).

Thank you!
Last edited by hugo.esquivel on Thu Sep 24, 2009 4:16 pm, edited 1 time in total.
Hugo Esquivel
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

there is a lot of code that needs to e changed. i am working on removing the specific reference to tcl that is provided for each class and use instead an api, e.g. something like OPS_GetInt() instead of Tcl_GetInt(). Any interpreter could then be used. Which is of course the purpose of what i am up to.
hugo.esquivel
Posts: 71
Joined: Sat Nov 29, 2008 10:18 am
Location: -

Post by hugo.esquivel »

Thank you! I'm glad to hear that.

So this feature will be available for version 3 or before?
Hugo Esquivel
Post Reply