AminetAminet
Search:
84749 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/AmigaMicropython.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Micropython for the Amiga classic
Author:Jean-Yves Oberlé
Uploader:jyoberle hotmail fr
Type:dev/misc
Version:0.2
Architecture:m68k-amigaos
Date:2024-08-16
Distribution:Aminet
Download:dev/misc/AmigaMicropython.lha - View contents
Readme:dev/misc/AmigaMicropython.readme
Downloads:487

Description
-----------

This is an implementation of MicroPython for the Amiga classic computers
(running OS 3.1). This version should be considered as preliminary. Most
of the MicroPython tests are passing, but some are still failing. Neither
viper nor native modes are supported.

Requirements
------------

OS 3.1.
bsdsocket.library.
CLI/Shell with 64 KB of stack.
4 MB of RAM are recommended although Amiga Micropython may work with less.

Usage
-----

You can use the amp program in two ways.

In a CLI/Shell with at least 64 KB of stack, launch amp and you will start
the Python shell, REPL (Read-Eval-Print Loop), waiting then for your
commands, e.g.:

3.System:> amp
MicroPython v1.22.2 on 2024-08-11; Amiga with m68000
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> print("Hello Amiga")
Hello Amiga
>>>

Press Ctrl-D to come back to the Amiga Shell.

You can also type amp followed by a Python script, e.g.:

3.System:> amp amiga.py
Only Amiga makes it possible!
3.System:> 

Sources
-------

Sources are available on my github:
https://github.com/jyoberle/micropython-amiga

History
-------

v0.2
  - first released version


Contents of dev/misc/AmigaMicropython.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  278     632  44.0% -lh5- b4f0 Aug 15 16:13 AmigaMicropython.info
[unknown]                 1219    3950  30.9% -lh5- 78ad Aug 13 23:11 AmigaMicropython/AmigaMicropython.guide
[unknown]                  180    2041   8.8% -lh5- f975 Aug 13 19:01 AmigaMicropython/AmigaMicropython.guide.info
[unknown]                  780    1484  52.6% -lh5- f384 Aug 15 16:11 AmigaMicropython/AmigaMicropython.readme
[unknown]               241573  441740  54.7% -lh5- 808d Aug 11 22:31 AmigaMicropython/amp
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files  244030  449847  54.2%            Aug 16 02:12
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>