mirror of
https://github.com/irmen/prog8.git
synced 2024-06-10 05:29:29 +00:00
Mention AUR package in documentation (#125)
Additionally, small fixes it nano highlighting
This commit is contained in:
parent
88458f5355
commit
58e1864144
|
@ -29,6 +29,8 @@ How to get it/build it
|
||||||
- Or, if you want/need a bleeding edge development version, you can:
|
- Or, if you want/need a bleeding edge development version, you can:
|
||||||
- download a build artifact zipfile from a recent [github action build](https://github.com/irmen/prog8/actions).
|
- download a build artifact zipfile from a recent [github action build](https://github.com/irmen/prog8/actions).
|
||||||
- you can also compile it yourself from source. [Instructions here](https://prog8.readthedocs.io/en/latest/compiling.html).
|
- you can also compile it yourself from source. [Instructions here](https://prog8.readthedocs.io/en/latest/compiling.html).
|
||||||
|
- Alternatively, you can also install the compiler as a package on some linux distros:
|
||||||
|
- Arch (via AUR): [`prog8`](https://aur.archlinux.org/packages/prog8)
|
||||||
|
|
||||||
Community
|
Community
|
||||||
---------
|
---------
|
||||||
|
|
|
@ -16,6 +16,17 @@ Then you can choose a few ways to get a compiler:
|
||||||
#. download a recent "fat-jar" (called something like "prog8compiler-all.jar") from `the releases on Github <https://github.com/irmen/prog8/releases>`_
|
#. download a recent "fat-jar" (called something like "prog8compiler-all.jar") from `the releases on Github <https://github.com/irmen/prog8/releases>`_
|
||||||
#. run the compiler with "java -jar prog8compiler.jar" to see how you can use it (use the correct name and version of the jar file you've downloaded).
|
#. run the compiler with "java -jar prog8compiler.jar" to see how you can use it (use the correct name and version of the jar file you've downloaded).
|
||||||
|
|
||||||
|
**Or, install via a Package Manager:**
|
||||||
|
|
||||||
|
Currently, it's only available on `AUR <https://wiki.archlinux.org/title/Arch_User_Repository>`_ for Arch and compatible systems.
|
||||||
|
The package's called ```prog8`` <https://aur.archlinux.org/packages/prog8>`_.
|
||||||
|
|
||||||
|
This package, alongside the compiler itself, also globally installs syntax highlighting for ``vim`` and ``nano``.
|
||||||
|
In order to run compiler, you can type either ``p8compile`` or ``prog8c``. The usage of those commands is exatcly the same as with ``java -jar`` method.
|
||||||
|
|
||||||
|
In case you prefer to install AUR packages in a traditional manner, make sure to install ```tass64`` package <https://aur.archlinux.org/packages/tass64>`_
|
||||||
|
before installing prog8, as ```makepkg`` <https://wiki.archlinux.org/title/Makepkg>`_ itself doesn't fetch AUR dependencies.
|
||||||
|
|
||||||
**Or, download a bleeding edge development version from Github:**
|
**Or, download a bleeding edge development version from Github:**
|
||||||
|
|
||||||
#. find the latest CI build on `the actions page on Github <https://github.com/irmen/prog8/actions>`_
|
#. find the latest CI build on `the actions page on Github <https://github.com/irmen/prog8/actions>`_
|
||||||
|
|
|
@ -8,7 +8,7 @@ syntax prog8 "\.p8$"
|
||||||
comment ";"
|
comment ";"
|
||||||
|
|
||||||
# Index thing and Array literals
|
# Index thing and Array literals
|
||||||
##color teal "\[[^]]*\]" ## nword
|
##color teal "\[[^]]*\]"
|
||||||
color teal "\]"
|
color teal "\]"
|
||||||
color teal "\["
|
color teal "\["
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ color lagoon "->"
|
||||||
color cyan "[[:alnum:]_]+:["']"
|
color cyan "[[:alnum:]_]+:["']"
|
||||||
|
|
||||||
# char literal
|
# char literal
|
||||||
color brightcyan "'([^\\]|\\([^ux]|u[0-9A-Fa-f]{4}|x[[:alnum:]]{2}))'"
|
color brightcyan "'([^\\]|\\([^ux]|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{2}))'"
|
||||||
|
|
||||||
# %asm handling
|
# %asm handling
|
||||||
color normal start="%[Aa][Ss][Mm]" end="}}"
|
color normal start="%[Aa][Ss][Mm]" end="}}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user