rustyphoenixlecture 1.10.0

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


# This file contains all keywords that we can use in a lecture with plain text

[highlighting]
# Do we want line numbers
is_line_number = true
# Plain text identifier
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
# Vector of accepted extensions
vec_extention = ["lecture_keyword"]
# 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 = """
A small example with cmake, fortran, C++, of the rustyphoenixlecture.
We can use maqao and gcc as well.
"""

[replace]
"clang++" = """<a class="program" href="https://clang.org/">clang++</a>"""
"clang" = """<a class="program" href="https://clang.llvm.org/">clang</a>"""
"g++" = """<a class="program" href="https://gcc.gnu.org/onlinedocs/gcc/">g++</a>"""
gcc = """<a class="program" href="https://gcc.gnu.org/onlinedocs/gcc/">gcc</a>"""
cmake = """<a class="program" href="https://cmake.org/">cmake</a>"""
Maqao = """<a class="program" href="https://maqao.org/">Maqao</a>"""
Valgrind = """<a class="program" href="https://valgrind.org/">valgrind</a>"""
RustyPhoenixLecture = """<a class="project_style" href="https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/static-site-generator/RustyPhoenixLecture/">RustyPhoenixLecture</a>"""
PhoenixTex2Html = """<a class="project_style" href="https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/static-site-generator/PhoenixTex2Html/">PhoenixTex2Html</a>"""
MALT = """<a class="program" href="https://memtt.github.io/malt/">MALT</a>"""
NUMAPROF = """<a class="program" href="https://memtt.github.io/numaprof/">NUMAPROF</a>"""

[[keyword]]
style = "project_style"
vec_token = [
	"MALT",
	"Perf",
	"Cadna",
	"Verrou",
]
vec_match = []

[[getuntilreplace]]
start_token = "beginCustomFigure"
end_token = "endCustomFigure"
replace_start = """<div class="figureStyle">"""
replace_end = "</div>"

[[keyword]]
style = "program"
vec_token = [
	"rustyphoenixlecture",
	"rustc",
	"cargo",
	"flang",
	"kate",
	"zed",
	"gitlab",
	"podman",
	"apptainer",
	"docker",
	"nvcc", "nvc++", "nvfortran",
	"dpc++",
	"perf", "valgrind", "maqao",
	"pixi",
]
vec_match = []

[[keyword]]
style = "program_language"
vec_token = [
	"c++", "C++", "C++17", "C++20", "C++23", "C++26",
	"rust", "Rust",
	"fortran", "Fortran",
	"python", "Python",
	"toml",
	"yml",
	"yaml",
	"markdown",
	"latex",
	"css",
	"html",
	"Ada"
]
vec_match = []

[[keyword]]
style = "program_libraries"
vec_token = [
	"libc++", "libc", "libm",
	"libhdf5", "libtbb",
	"libblosc",
	"OpenMP", "OpenACC",
	"SYCL", "Kokkos",
	"CUDA", "Cuda", "EVE",
	"Numpy", "numpy", "NumPy", "Numba", "numba",
	"PyCUDA", "CuPy", "DPNP", "JAX", "PyTorch", "CuNumeric",
	"openXLA",
	"cuBLAS", "cuRAND", "cuSOLVER", "cuSPARSE", "cuFFT", "cuDNN", "NCCL",
]
vec_match = []

[[keyword]]
style = "project_file"
vec_token = [
	"CMakeLists.txt",
	"Dockerfile",
	"pixi.toml", "pixi.lock",
	"Cargo.toml", "Cargo.lock",
	".gitignore", ".gitattributes",
]
vec_match = []

[[keyword]]
style = "hardware"
vec_token = [
	"ALU",
	"CPU", "CPUs",
	"GPU", "GPUs",
	"FPGA", "FPGAs",
	"LPU", "LPUs",
	"TPU", "TPUs",
	"ARM", "Intel", "PPC", "Nvidia", "AMD",
]
vec_match = []