Agena

Versione: 
7.9.4
Data rilascio: 
Lunedì, 9 Marzo, 2009

Licenza:

Interfaccia:

Authors/Port authors:

Agena è un linguaggio di programmazione procedurale facile da apprendere e studiato per l'utilizzo quotidiano. Implementato come linguaggio interpretato, può essere usato per applicazioni scientifiche, educative, linguistiche e altro. La sua sintassi risulta simile all'Algol 68 semplificato, con elementi presi dal Lua e da SQL.

Questo software è distribuito come pacchetto compresso, da scaricare e installare manualmente; se ci sono prerequisiti da soddisfare, andranno anch'essi scaricati e installati manualmente.

Installazione manuale

Disponibile sia in formato ZIP che WarpIN:

  • scaricare il pacchetto ZIP in una cartella temporanea e scompattarlo nella cartella di destinazione;
  • il pacchetto WarpIN è autoinstallante.

Vedi sotto per il(i) link di download.

E' possibile installare i prerequisiti con rpm, eseguendo la stringa seguente in una finestra comandi:

yum install libc libcx libgcc1 libssp libstdc++6 libstdc++ libsupc++6 libsupc++ libgcc-fwd readline ncurses expat sqlite

Qui di seguito trovi i link di download per l'installazione manuale del software:

Agena v. 7.9.4 (30/8/2026, Alexander Walz) Readme/What's new
agena >> `The Power of Procedural Programming` 7.9.4 Deimos, August 30, 2026 - Simple `numarray` read access with standard indexing and `numarray.subarray` has become at least 5 % faster. - `fractals.draw` when given no colouring information now uses the default Fractint colour map instead of blue hues. - `fractals.draw` with the 'map' option now accepts FRACTINT colour map files that include comments introduced with a hash or a semicolon. Blank lines will now be simply ignored, too. - `fractals.draw` also accepts a colour map table of 256 RGB values instead of the name of a FRACTINT *.map file. You can use the new `fractals.genmap` function to create such a colour map table. Define the colour stops: > anchors := [ > [0, 0, 255], # Blue > [0, 255, 0], # Green > [255, 0, 0] # Red > ] and pass them to `fractals.genmap`: > import fractals; > fractals.draw(fractals.markmandel, -0.5, 0, 1.5, res = 1280:768, map = fractals.genmap(anchors)); If you want to use colours defined in the gdi.COLOURS table, then multiply each component by 255 to convert it from the 0 .. 1 to the 0 .. 255 range. > anchors := [ > gdi.COLOURS.bordeaux, gdi.COLOURS.spring, gdi.COLOURS.spring, > gdi.COLOURS.yellow, gdi.COLOURS.yellow, > gdi.COLOURS.white, gdi.COLOURS.white, gdi.COLOURS.white, > ] > for i, j in anchors do > anchors[i] := map(<: x -> x*255 :>, j); > od; > fractals.genmap(anchors, 'bordeaux_spring.map'); Successfully generated file `bordeaux_spring.map`. - New `fractals.sortmap` sorts a colour map non-destructively and either returns the new sorted table or writes it to a file. You can sort by hue, saturation or step. Example: > fractals.sortmap( > fractals.genmap(anchors), > mode = 'saturation', > output = 'mymap.map', > header = '# my first saturation-sorted colour map'); - New `fractals.readmap` reads in a FRACTINT colour map file, and new `fractals.writesmap` writes one to disk.
 sourceforge.net/projects/agena/files/Binaries/Agena 7.9.4/agena-7.9.4-os2.wpi/download
Run Agena Scripts Easily (rase) v. 7.9.4 (30/8/2026, Alexander Walz) Readme/What's new
rase - Run Agena Scripts Easily in Windows NT 4.0 or later and in OS/2. Please refer to the explanations in `example.agn`. For a quick demo, unpack all the files into a new, fresh directory, change into this directory and run the `example.exe` file in an command shell (Windows) or `example.cmd` (OS/2) as follows: example 1 2 There is also a utility called `whereis` which searches for a file in a path: whereis /r /a "agena.*" c:/agena Another one prints drive information: drive c: A script printing information on installed memory: memory Finally, cpuinfo prints various information on the CPU: cpuinfo /a In your operating system, you may want to add the path to the rase directory to your PATH system environment variable. Credit: The implementation is based on https://www.cs.usfca.edu/~galles/cs420/lecture/LuaLectures/LuaAndC.html, written by: Associate Professor David Galles, Department of Computer Science, University of San Francisco, CA 94117. For compilation hints, check the top of the rase.c source file. ---------------------------------------------------------------- # READ.ME and DEMO Run Agena Scripts Easily (rase) for Windows /* This file shows how to execute Agena scripts in Windows NT 4.0 and later without passing the script and its arguments to the actual Agena interpreter. We won't call "agena example.agn 1 2" from the commandline, but just enter "example 1 2" in the NT shell. In OS/2 we use the batch script example.cmd to execute a script. Please make sure that the following files are now in one and the same directory: example.agn (or your favourite script filename) example.exe (Windows only, or your favourite executable filename) agena.exe (in OS/2 only) agena.dll (do not change the filename) library.agn (do not change the filename) libgcc_s_dw2-1.dll (Windows only, do not change the filename) libmingwex-4.dll (Windoes only, do not change the filename) In Windows, rename the following files in this ZIP file to your favourite name: example.exe -> yourfavouritename.exe example.agn -> yourfavouritename.agn In OS/2, rename the following files in this ZIP file to your favourite name: example.cmd -> yourfavouritename.cmd example.agn -> yourfavouritename.agn and edit the *.agn file according to your need. The *.exe or *.cmd file will launch your *.agn script file of the same name. For a more elobarate script that locates files, links or folders in a directory, check the `whereis.agn` script. For a script that prints drive information, check the `drive.agn` script. */ print('\nDemo using NO explicit function by referring to the \`args\' table:'); print('-----------------------------------------------------------------\n'); print('Number of arguments:', size(args)); # all arguments (all strings )are available in the args table, including the name of the script at index 1 print('Arguments passed: ', args); # we convert the command-line arguments to numbers local x, y := tonumber(args[2]), tonumber(args[3]); if x :: number and y :: number then print('Test: ', x & ' minus ' & y & ' is ' & (x - y)); print('Test: ', 'sqrt(' & x & ' + ' & y & ') is ' & sqrt(x + y)) fi; /* In Windows, we _alternatively_ define a function of the same name as the executable (w/o the file suffix, `example` in this case). This function will then be called by the executable `example.exe`. Just enter the following statement in an NT shell (cmd.com) and see what will happen: example 1 2 */ example := proc(?) is # this function will be automatically called by the executable print('\nDemo using explicit function of same name \& \`nargs\' and the \`varargs\' table:'); print('----------------------------------------------------------------------------\n'); print('Number of arguments:', nargs); print('Arguments passed: ', ?); local x, y := tonumber(?[1]), tonumber(?[2]); if x :: number and y :: number then print('Test: ', x & ' minus ' & y & ' is ' & (x - y)); print('Test: ', 'sqrt(' & x & ' + ' & y & ') is ' & sqrt(x + y)) fi end; /* The output should be: C:\agena\extract>example 1 2 Demo using NO explicit function by referring to the `args' table: ----------------------------------------------------------------- Number of arguments: 3 Arguments passed: [example, 1, 2] Test: 1 minus 2 is -1 Test: sqrt(1 + 2) is 1.7320508075689 Demo using explicit function of same name & `nargs' and the `varargs' table: ---------------------------------------------------------------------------- Number of arguments: 3 Arguments passed: [example, 1, 2] Test: 1 minus 2 is -1 Test: sqrt(1 + 2) is 1.7320508075689 */
 sourceforge.net/projects/agena/files/Packages/rase-os2.7_9_4.zip/download
Agena v. 7.8.10 (21/8/2026, Alexander Walz) Readme/What's new
agena >> `The Power of Procedural Programming` 7.8.10 Phobos, August 21, 2026 - The new function `strings.hirschberg` takes two strings s and t and returns their global alignment in three results: the edit sequence, the alignment of s and the alignment of t. The function uses the memory-friendly Hirschberg algorithm which yields a total structural space complexity of strictly O(N + M). > strings.hirschberg('Alex', 'Axelander'): =++=+++=! A l ex Axelander > strings.hirschberg('Axelander', 'Alex'): =--=---=! Axelander A l ex - When given the -b, -q, -Q command-line options and with multiple returns, the pretty-printer wrote the last return only, and this multiple times. The same happened when setting the 'enclose', 'encloseback' or 'enclosedouble' switches to true via a call to `environ.kernel`. This has all been fixed. - This release has been successfully Valgrind-tested on x86 Linux.
 hobbes.os-2.in/download/os2/dev-4/proglang-4/misc-23/Agena_7-8-10.wpi
Agena v. 7.8.5 (10/8/2026, Alexander Walz)
 hobbes.os-2.in/download/os2/dev-4/proglang-4/misc-23/Agena_7-8-5.wpi
Agena Manual v. 7.9.4 (, Alexander Walz)
 sourceforge.net/projects/agena/files/Manuals/agena-reference.pdf/download
Agena source code v. 7.9.4 (Source code, , Alexander Walz)
 sourceforge.net/projects/agena/files/Sources/agena-7.9.4-src.tar.gz/download
Scheda aggiornata l'ultima volta il: 30/08/2026 - 17:13

Commenti

Hello, thank you very much for listing me. Greetings from Bonn, Rhineland, Alex

Aggiungi un commento