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 = true
# Plain text identifier
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
# Vector of accepted extensions
vec_extention = ["apptainer"]
# 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 = true
# Some example of the language to be parsed
example = """
Bootstrap: localimage
From: {{ UBUNTU_BASE }}

%arguments
	UBUNTU_BASE=../base_compile/base_compile_ubuntu22.sif

%environment
	export GIT_SSL_NO_VERIFY=1
	export NVHPC_VERSION=25.5
	export NVCPP=/opt/nvidia/hpc_sdk/Linux_x86_64/${NVHPC_VERSION}/compilers/bin/nvc++
	export NVCC=/opt/nvidia/hpc_sdk/Linux_x86_64/${NVHPC_VERSION}/compilers/bin/nvcc
	export NVC=/opt/nvidia/hpc_sdk/Linux_x86_64/${NVHPC_VERSION}/compilers/bin/nvc
	export NVF=/opt/nvidia/hpc_sdk/Linux_x86_64/${NVHPC_VERSION}/compilers/bin/nvfortran
	export PHOENIX_INSTALL_PREFIX=/usr
	export CUDA_BIN_PATH=$(dirname $NVCC)

%post
	apt-get -y update && apt-get install -y gcc g++ cmake make git wget libtbb-dev libhdf5-dev libpng-dev curl gpg && \\
	curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg && \\
	echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | \\
	tee /etc/apt/sources.list.d/nvhpc.list && \\
	apt-get update -y && \\
	apt-get install -y nvhpc-25-5 && \\
	apt-get -y clean autoremove && \\
	ln -s /opt/nvidia/hpc_sdk/Linux_x86_64/${NVHPC_VERSION}/profilers/Nsight_Systems/bin/nsys /usr/local/bin/nsys

%runscript
exec $@

%help
	This is the compilation image of the Gray Scott simulation for GPU for Ubuntu 22.04
	
	
# apptainer build base_compile_gpu_ubuntu22.sif Apptainer.ubuntu22
"""

[[keyword]]
style = "dsKeyword"
vec_token = [
	"From",
	"Bootstrap",
	"%post",
	"%runscript",
	"exec",
	"%help",
	"%app",
	"%arguments",
	"%setup",
	"%files",
	"%environment",
	"%startscript",
	"%test",
	"%labels"
]
vec_match = []

[[keyword]]
style = "makeFunction"
vec_token = [
	"echo",
	"touch",
	"ls",
	"cd",
	"ln",
	"apt-get",
	"yum",
	"dnf",
	"apt",
	"debconf-set-selections",
	"export",
	"curl",
	"tee",
]
vec_match = []

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


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


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