Esma Tayran wrote:
>
> I've copied the code and pasted it on the LibreOffice Writer and changed
> the file extension to ".as". But it didn't work again.
> Which writing app do I need to use?
If you want to use LibreOffice you should look at 'File type'
option in save dialog. There should be something called 'Text'
(as opposed to 'Rich text' or 'Document ...'). It will probably
want to give '.txt' extension to the file so you need to change
it. Note that Axiom syntax was sensitive to indentation, wrong
indentation can cause syntax errors.
Concerning 'didn't work again': I encourage you to read:
www.catb.org/esr/faqs/smart-questions.html
especially part titled 'Be precise and informative about your
problem'. Without details we can not say it you stored file
in wront format, made some error during copy and paste or
maybe do not have installed Aldor interface.
IIUC your immediate problem is that you want to run some
published code. The first step is to identify what you
need to run this code. During nineties Axiom came bundled
with Aldor and the code may either use Axiom syntax or
Aldor syntax. If code uses Axiom syntax, then save it
as a '.spad' file and use compile command:
)compile plik.spad
This does not need Aldor, so should be simpler than Aldor
case. If the code uses Aldor syntax, then it may
be standalone code (which only uses Aldor domains) or
may use Axiom domains. If the code is standalone Aldor
it may be easier to run it in Aldor (without Axiom). As
Ralf wrote currently you can use FriCAS with Aldor
interface. Unless you have an old comercial version of Axiom
which included Aldor as "library compiler" this is
not going to work in other Axiom versions/forks.
To install FriCAS with Aldor you need to follow instructions.
First install Aldor. IIUC you should use version from:
https://github.com/pippijn/aldor
and follow instructions in README.md file there. Then
fetch and compile FriCAS using configure line:
./configure --enable-aldor
Compiling Aldor file will _not_ work before you install
Aldor compiler. And to you Aldor file inside FriCAS
need FriCAS and the interface. You wrote about LibreOffice
but nothing about installation, so it seems that you try
to compile Aldor file without installing Aldor compiler.
>
> I am new in AXIOM, so hope I don't bother you.
The paper is likely to be from time when Axiom was a commercial
product. Now Axiom is open-source, but it is split into
several project. Core Axiom forked twice, so there are
3 different project: Axiom, FriCAS and OpenAxiom. When
core Axiom was freed Aldor became separate project, initially
with restricitve licence. In 2013 Aldor was released under
open-source licence but still is a separete project.
If the paper really use Aldor inside Axiom, than you
either need old commercial version or need to go trough
installing FriCAS with Aldor interface. This
requires some work and there may be some problems on the
way. Problems with Aldor alone should be reported here.
Problems with FriCAS or FriCAS-Aldor interface should be
go to FriCAS mailing list:
fricas...@googlegroups.com
OTOH, if the paper uses Axiom sysntax (or can be change to
use it), then any of forks could be used. I am maintining
FriCAS and I encourage you to use it. However, when
asking about FriCAS it is better to use FriCAS list.
Also, note that but FriCAS and Aldor develop and there
are some incompatible changes. If you have specific
problem then please give details, we will tell you if
problem is due to changes or there is some other
reason.
--
Waldek Hebisch