aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libmagic/magic/Magdir/algol68
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-12-02 01:45:21 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-12-02 02:42:50 +0300
commit9c43d58f75cf086b744cf4fe2ae180e8f37e4a0c (patch)
tree9f88a486917d371d099cd712efd91b4c122d209d /contrib/libs/libmagic/magic/Magdir/algol68
parent32fb6dda1feb24f9ab69ece5df0cb9ec238ca5e6 (diff)
downloadydb-9c43d58f75cf086b744cf4fe2ae180e8f37e4a0c.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/libs/libmagic/magic/Magdir/algol68')
-rw-r--r--contrib/libs/libmagic/magic/Magdir/algol6835
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/libs/libmagic/magic/Magdir/algol68 b/contrib/libs/libmagic/magic/Magdir/algol68
new file mode 100644
index 0000000000..1ca1fad211
--- /dev/null
+++ b/contrib/libs/libmagic/magic/Magdir/algol68
@@ -0,0 +1,35 @@
+
+#------------------------------------------------------------------------------
+# $File: algol68,v 1.6 2022/11/06 18:36:55 christos Exp $
+# algol68: file(1) magic for Algol 68 source
+#
+# URL: https://en.wikipedia.org/wiki/ALGOL_68
+# Reference: http://www.softwarepreservation.org/projects/ALGOL/report/Algol68_revised_report-AB.pdf
+# Update: Joerg Jenderek
+0 search/8192 (input,
+>0 use algol_68
+# graph_2d.a68
+0 regex/4006 \^PROC[[:space:]][a-zA-Z0-9_[:space:]]*[[:space:]]=
+>0 use algol_68
+0 regex/1024 \bMODE[\t\ ]
+>0 use algol_68
+0 regex/1024 \bMODE[\t\ ]
+>0 use algol_68
+0 regex/1024 \bREF[\t\ ]
+>0 use algol_68
+0 regex/1024 \bFLEX[\t\ ]\*\\[
+>0 use algol_68
+
+# display information like mime type and file name extension of Algol 68 source text
+0 name algol_68 Algol 68 source text
+!:mime text/x-Algol68
+# https://file-extension.net/seeker/file_extension_a68
+!:ext a68
+#!:ext a68/alg
+
+#0 regex [\t\ ]OD Algol 68 source text
+#>0 use algol_68
+#!:mime text/x-Algol68
+#0 regex [\t\ ]FI Algol 68 source text
+#>0 use algol_68
+#!:mime text/x-Algol68