rosetta

(★ 40)

C++26 reflection

File Explorer

  • .clang-format
  • .gitignore
  • CHANGELOG.md
  • LICENSE
  • README.md
  • TODO.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

cmake

View Details ▼

Cross-platform build automation system, that generates recipes for native build systems.

cmake {{path/to/project_directory}}

Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:

cmake --build {{path/to/build_directory}}

Use a generated recipe in a given directory to build artifacts:

cmake --install {{path/to/build_directory}} --strip

Install the build artifacts into `/usr/local/` and strip debugging symbols:

🔍

java

View Details ▼

Java application launcher.

java {{classname}}

Execute a Java `.class` file that contains a main method by using just the class name:

java -classpath {{path/to/classes1}}:{{path/to/classes2}}:. {{classname}}

Execute a Java program and use additional third-party or user-defined classes:

java -jar {{filename.jar}}

Execute a `.jar` program:

🔍

julia

View Details ▼

A high-level, high-performance dynamic programming language for technical computing.

julia

Start a REPL (interactive shell):

julia {{program.jl}}

Execute a Julia program and exit:

julia {{program.jl}} {{arguments}}

Execute a Julia program that takes arguments:

🔍

lua

View Details ▼

A powerful, light-weight embeddable programming language.

lua

Start an interactive Lua shell:

lua {{path/to/script.lua}} {{--optional-argument}}

Execute a Lua script:

lua -e '{{print("Hello World")}}'

Execute a Lua expression:

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

readonly

View Details ▼

Set read-only shell variables.

readonly {{variable_name}}={{value}}

Set a read-only variable:

readonly {{existing_variable}}

Mark a variable as read-only:

readonly -p

[p]rint the names and values of all read-only variables to `stdout`:

// repository documentation