Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: AMAL reimplementation in Java  (Read 17448 times)

0 Members and 1 Guest are viewing this topic.

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #15 on: December 10, 2010, 05:14:04 PM »

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.
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #16 on: December 11, 2010, 01:35:25 PM »

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)
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #17 on: December 11, 2010, 04:57:34 PM »

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.
« Last Edit: December 11, 2010, 05:07:45 PM by Mequa »
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #18 on: December 11, 2010, 05:02:32 PM »

« Last Edit: December 11, 2010, 05:04:16 PM by Mequa »
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #19 on: December 23, 2010, 01:26:36 AM »

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):
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
jAMAL alpha 0.3
« Reply #20 on: December 24, 2010, 07:07:29 PM »

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):
« Last Edit: December 24, 2010, 07:23:50 PM by Mequa »
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
jAMAL alpha 0.4
« Reply #21 on: December 31, 2010, 06:13:26 PM »

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!
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Re: AMAL reimplementation in Java
« Reply #22 on: July 23, 2011, 06:36:54 AM »

« Last Edit: July 23, 2011, 06:38:54 AM by Mequa »
Logged

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
jAMAL mirror
« Reply #23 on: July 24, 2011, 11:15:36 PM »

« Last Edit: July 25, 2011, 09:31:32 AM by Mequa »
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: AMAL reimplementation in Java
« Reply #24 on: August 20, 2011, 05:22:13 PM »


This sounds is really cool  8)


Regards,
Lonewolf10
Logged
Pages: 1 [2]   Go Up
 

TinyPortal 2.2.2 © 2005-2022