mirror of
https://github.com/irmen/prog8.git
synced 2025-08-19 10:27:43 +00:00
todo
This commit is contained in:
@@ -10,27 +10,27 @@ Prog8 documentation - |version|
|
|||||||
What is Prog8?
|
What is Prog8?
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
This is a compiled programming language targeting the 8-bit
|
This is a compiled programming language targeting the 8-bit 6502 CPU family.
|
||||||
`6502 <https://en.wikipedia.org/wiki/MOS_Technology_6502>`_ /
|
|
||||||
`6510 <https://en.wikipedia.org/wiki/MOS_Technology_6510>`_ /
|
|
||||||
`65c02 <https://en.wikipedia.org/wiki/MOS_Technology_65C02>`_ microprocessors.
|
|
||||||
This CPU is from the late 1970's and early 1980's and was used in many home computers from that era,
|
|
||||||
such as the `Commodore 64 <https://en.wikipedia.org/wiki/Commodore_64>`_.
|
|
||||||
The language aims to provide many conveniences over raw assembly code (even when using a macro assembler),
|
The language aims to provide many conveniences over raw assembly code (even when using a macro assembler),
|
||||||
while still being low level enough to create high performance programs.
|
while still being low level enough to create high performance programs.
|
||||||
You can compile programs for various machines with this CPU:
|
|
||||||
|
|
||||||
* Commander X16 (with 6502 cpu, 65816 cpu specifics are currently not supported)
|
They targeted CPUs are the `6502 <https://en.wikipedia.org/wiki/MOS_Technology_6502>`_ /
|
||||||
|
`6510 <https://en.wikipedia.org/wiki/MOS_Technology_6510>`_ /
|
||||||
|
`65c02 <https://en.wikipedia.org/wiki/MOS_Technology_65C02>`_ microprocessors.
|
||||||
|
They are from the late 1970's and early 1980's and was used in many home computers from that era,
|
||||||
|
such as the `Commodore 64 <https://en.wikipedia.org/wiki/Commodore_64>`_.
|
||||||
|
|
||||||
|
You can compile programs for various machines:
|
||||||
|
|
||||||
|
* Commander X16 (with 65c02 cpu, 65816 cpu specifics are currently not supported)
|
||||||
* Commodore 64
|
* Commodore 64
|
||||||
* Commodore 128 (limited support)
|
* Commodore 128 (limited support)
|
||||||
* Commodore PET (limited support)
|
* Commodore PET (limited support)
|
||||||
* Atari 800 XL (limited support)
|
* Atari 800 XL (limited support)
|
||||||
|
|
||||||
The source code is on github: https://github.com/irmen/prog8.git
|
Open source Software License
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
Full source code is on github: https://github.com/irmen/prog8.git
|
||||||
Software License
|
|
||||||
^^^^^^^^^^^^^^^^
|
|
||||||
Prog8 is copyright © Irmen de Jong (irmen@razorvine.net | http://www.razorvine.net).
|
Prog8 is copyright © Irmen de Jong (irmen@razorvine.net | http://www.razorvine.net).
|
||||||
|
|
||||||
This is free software, as defined in the GNU GPL 3.0 (https://www.gnu.org/licenses/gpl.html)
|
This is free software, as defined in the GNU GPL 3.0 (https://www.gnu.org/licenses/gpl.html)
|
||||||
|
@@ -73,7 +73,7 @@ Compiler:
|
|||||||
But all library code written in asm uses .proc already..... (textual search/replace when writing the actual asm?)
|
But all library code written in asm uses .proc already..... (textual search/replace when writing the actual asm?)
|
||||||
Once new codegen is written that is based on the IR, this point is mostly moot anyway as that will have its own dead code removal on the IR level.
|
Once new codegen is written that is based on the IR, this point is mostly moot anyway as that will have its own dead code removal on the IR level.
|
||||||
- Zig-like try-based error handling where the V flag could indicate error condition? and/or BRK to jump into monitor on failure? (has to set BRK vector for that) But the V flag is also set on certain normal instructions
|
- Zig-like try-based error handling where the V flag could indicate error condition? and/or BRK to jump into monitor on failure? (has to set BRK vector for that) But the V flag is also set on certain normal instructions
|
||||||
- Zig-like defer to execute a statement/anonymousscope at subroutine exit?
|
- Zig-like defer to execute a statement/anonymousscope when subroutine exits? (problem is, we have jump insructions and inline asm , where we lose track of when exactly the subroutine exits...)
|
||||||
- generate WASM to eventually run prog8 on a browser canvas? Use binaryen toolkit and/or my binaryen kotlin library?
|
- generate WASM to eventually run prog8 on a browser canvas? Use binaryen toolkit and/or my binaryen kotlin library?
|
||||||
- implement split words arrays all()
|
- implement split words arrays all()
|
||||||
- implement split words arrays sort()
|
- implement split words arrays sort()
|
||||||
|
Reference in New Issue
Block a user