rustyphoenixlecture 1.10.0

This project aims to provide a simple a powerfull lecture compilation to generate html web sites

[highlighting]
# Do we want line numbers
is_line_number = false
# Plain text identifier
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
# Vector of accepted extensions
vec_extention = ["terminal"]
# Vector of accepted filenames for highlithing this particular language
vec_filename = []
# Definition of a single line comment
single_line_comment = "#"
# Beginning of a multi-line comment
multi_line_comment_begin = ""
# Ending of a multi-line comment
multi_line_comment_end = ""
# If the language has an escape char
is_escape_char = false
# Some example of the language to be parsed
example = """
cmake ..
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: XXX/1-FirstPerformanceTest/build
"""

[[keyword]]
style = "makeFunction"
vec_token = [
	"rm",
	"cd",
	"mv",
	"g++",
	"gcc",
	"ls",
	"tar",
	"make",
	"cmake3",
	"cmake",
	"cpack",
	"echo",
	"uname",
	"time",
	"cat",
	"mkdir",
	"sed",
	"head",
	"cut",
	"grep",
	"bc",
	"seq",
	"column",
	"gnuplot-nox",
	"gnuplot",
	"condor_submit",
	"sysctl",
	"nproc",
	"git",
	"apptainer",
	"singularity",
	"scp",
	"basename",
	"podman",
	"docker",
	"apptainer",
]
vec_match = []

[[getuntil]]
style = "dsString"
start_token = "\""
end_token = "\""


[[getuntil]]
style = "dsString"
start_token = "'"
end_token = "'"


[[getuntil]]
style = "dsCommentMono"
start_token = "#"
end_token = "\n"


[[getuntil]]
style = "dsNumber"
start_token = "${"
end_token = "}"



[[sequence]]
style = "dsNumber"
vec_step = [
	{token = "$"},
	{oneof = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"},
]

[[sequence]]
style = "dsNumber"
vec_step = [
	{oneof = "1234567890"},
	{oneof = "lu"}
]

[[sequence]]
style = "dsNumber"
vec_step = [
	{token = "."},
	{oneof = "1234567890"},
	{oneof = "f"}
]

[[sequence]]
style = "dsNumber"
vec_step = [
	{token = "0x"},
	{oneof = "1234567890abcdef"},
]

[[sequence]]
style = "dsNumber"
vec_step = [
	{token = "0b"},
	{oneof = "10"},
]

# We have to fight token with token, because oneof has less priority
[[sequence]]
style = "dsNumber"
vec_step = [
	{token = "0"},
]