AMAL reimplementation in Java

Started by Mequa, November 13, 2010, 01:22:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mequa

A friend just tried this on Mac OS X. It worked well, until he replaced "Let X=100" with "Let X=d*ldo" (without the asterisk). Then it froze up.

The lowercase after the = is ignored, so the Lexer most likely went into an infinite loop looking for the final operand. (That or it gave a null pointer.) Syntax error checking will be implemented later to prevent this crash.

Mequa

Update: jAMAL alpha demo release 0.1.1

Changes from alpha demo 0.1
- More examples added, and added more comments. Should be much easier for beginners now!
- Pausing improved. "Run" and "Pause" now both function as "Unpause".
- Will now officially translate AMAL to Java! (early alpha stage, not yet buildable)

Mequa

#17
François just replied - he thought this is quite fun! ;D


P.S.
This is cross platform but it's been confirmed working on Windows 7, XP and Mac OS X. It even works in 512MB, which surprised me!
Memory optimisations to come. Also, this may chug on a low-end Atom or Celeron (AOT compilation may help there).
I'll try it on one of my university's Linux workstations later.

Mequa


Mequa

Update: jAMAL alpha 0.2

Changes from alpha demo 0.1.1
- Fixed a major concurrency bug. All examples now load first time now.
- Improved the examples and added two "bouncy ball" demos.
- Can now save and load external files in ASCII format.
- PLay is now lexed correctly (movement banks not yet implemented).
- You can now strip your code. Oh là là!
- Added the ability to view all your programs in standard or stripped mode.


Download here (members only):

Mequa

#20
Update: jAMAL alpha 0.3

Changes from alpha 0.2
- AMAL to Java machine-translated source code is now DIRECTLY BUILDABLE WITHOUT MODIFICATION!
AMAL scripts can now run either interpreted, or translated directly into Java and built.
(Requires full jAMAL source [with JGame] and Java SDK to build your own - former coming soon!)
- Can now export .java files which contain a complete buildable Java class (using OS-native endlines).
- A fully translated-to-Java and working non-interpreted AMAL example has been integrated into the editor.

Happy holidays! :D

P.S. I voted for "A rewrite could be fun". Who voted for "AMAL Forever!!!"? Could it have been François himself?


Download here (members only):

Mequa

Changes from alpha 0.3:

- Now uses a higher resolution game window (640x512) and more sprite images.
- Sprites are now fully V-reversible as well as H-reversible.
- 90 degree rotation is possible for the pacman sprite (now also stored in rotated form).
- Some Amiga-style "boing ball" and "checkmark" sprites (and the jAMAL logo) were added to the examples.

Happy 2011!

Mequa

#22
Update: jAMAL alpha 0.50 (July 23rd 2011)

Alpha 0.4: First source release on Sourceforge. BSD Licence.
• jAMAL_src.zip is now importable into Eclipse IDE under "Existing Projects into Workspace".
• It should now be buildable out of the box. (JGame libraries are in 'jgame' directory.)
• It should also build out of the box with AmalPrograms.java replaced with a jAMAL exported Java file. Enjoy!

Changes from alpha 0.4
• Tidied up and refactored the Java source. It's now tidier and produces a smaller JAR file.
• Now launches JAMAL.java in jAMAL/src/jamal/ (instead of MyGame.java in jgamesample/
src/mygame/)

Changes from alpha 0.41
• Now supports AMAL functions with multiple arguments (=XScreen(1,2), =YScreen(1,2),
=XHard(1,2), =YHard(1,2), =BobCol(1,2,3), =SpriteCol(1,2,3)). Collision detection and
multiple screen support is not yet implemented.
• =Z function (for random numbers) no longer locks up when used without an argument (still
needs more work).

Changes from alpha 0.42
• The AMAL Environment Generator has been reimplemented. This is based on a subset of
AMOS BASIC itself.
• Can now load a background image from a file (or resource).
• Can now load sprite images from a folder or directory (disk or resource).
• The AMAL-to-Java Compiler has been greatly optimised (still needs more work though).
• A new background was added (from Photos8.com).
• Can now create a new project, and create a new AMAL channel and program.
• Added support for screen dragging and scrolling effects using Screen Display and Screen
Offset in the Environment Generator. These can now be allocated to AMAL channels to
allow AMAL scripts to control the screen directly. Some new examples were included.

Runnable JAR, documentation and source are downloadable from jAMAL's SourceForge page:
http://sourceforge.net/projects/javaamal/

Mequa

Mequa

#23
Minor update: jAMAL alpha 0.51:
• Bug fix: The playfield is now correctly reset after using Screen Offset (screen scrolling demo) on loading a new example or program.


As well as on SourceForge, jAMAL alpha 0.51 is now downloadable from:

http://mequa.dragotech.net/jamal/jAMAL.jar (executable)
http://mequa.dragotech.net/jamal/jAMAL.pdf (documentation)
http://mequa.dragotech.net/jamal/jAMAL_src.zip (source)

jAMAL YouTube video:
jAMAL YouTube video

P.S. This now includes AbkViewer integrated into the jAMAL editor.
(Support for using original AMOS ABK sprites with animation scripts is planned.)

Lonewolf10


This sounds is really cool  8)


Regards,
Lonewolf10