rosetta
C++26 reflection
File Explorer
- marp.yml
- ANNOTATIONS.md
- COVERAGE.md
- EXTENDING_BACKEND.md
- FREE_FUNCTIONS.md
- GENERATE.md
- MAIN-TODO.md
- MAIN-TODOs.md
- MANIFEST.md
- OTHER_ANNOTATIONS.md
- OUT_OF_LINE_ANNOTATIONS.md
- PIPELINE.md
- QUICKSTART.md
- ROSETTA_GEN.md
- slides-pipeline.md
- slides.md
- TODO.md
- .gitignore
- manifest.json
- README.md
- test.js
- test.py
- widget.ann.json
- widget.h
- auto_jlcxx.cpp
- CMakeLists.txt
- README.md
- test_reflected_person.jl
- auto_napi.cpp
- CMakeLists.txt
- package.json
- README.md
- test_reflected_person.js
- auto_pybind.cpp
- CMakeLists.txt
- README.md
- test_reflected_person.py
- auto_rest.cpp
- CMakeLists.txt
- index.html
- README.md
- test_rest.sh
- auto_emscripten.cpp
- CMakeLists.txt
- index.html
- README.md
- test_reflected_person.js
- build.sh
- README.md
- .gitignore
- CMakeLists.txt
- main.cpp
- README.md
- viewer.png
- console.h
- mainwindow.h
- propertypanel.h
- sceneview.h
- viewer.cpp
- .gitignore
- bunny.h
- CMakeLists.txt
- demo.cpp
- interp.h
- manifest.json
- Mesh.ann.json
- README.md
- run.sh
- scene.h
- Vec3.ann.json
- BoundingBox.ann.json
- example_node.js
- example_python.py
- example_wasm.js
- manifest.json
- Vector3.ann.json
- BoundingBox.h
- Vector3.h
- BoundingBox.cpp
- Vector3.cpp
- CMakeLists.txt
- .gitignore
- build.sh
- README.md
- common.h
- Kind.h
- Model.h
- Point.h
- Surface.h
- Triangle.h
- run.csproj
- .gitignore
- example_csharp.cs
- example_julia.jl
- example_lua.lua
- example_nanobind.py
- example_node.js
- example_pybind11.py
- example_wasm.html
- example_wasm.js
- manifest.json
- Model.ann.json
- Point.ann.json
- README.md
- run.sh
- Triangle.ann.json
- common.h
- Kind.h
- Model.h
- Point.h
- Surface.h
- Triangle.h
- .gitignore
- example.js
- example_nanobind.py
- example_pybind11.py
- manifest.json
- README.md
- .gitignore
- Algo.ann.json
- Algo.h
- manifest.json
- README.md
- run.sh
- .gitignore
- example.js
- example.py
- manifest.json
- README.md
- CMakeLists.txt
- main.cpp
- README.md
- .gitignore
- CMakeLists.txt
- main.cpp
- README.md
- threshold.h
- .gitignore
- drive.jl
- drive.js
- drive.py
- drive.wasm.js
- manifest.json
- README.md
- run.sh
- Serie.ann.json
- Serie.h
- Serie.hxx
- CMakeLists.txt
- main.cpp
- README.md
- CMakeLists.txt
- main.cpp
- README.md
- .gitignore
- bank.h
- manifest.json
- .gitignore
- drive.js
- drive.lua
- drive.py
- manifest.json
- README.md
- run.sh
- .gitignore
- drive.js
- drive.lua
- drive.py
- drive_qt.py
- drive_web.html
- manifest.json
- README.md
- run.sh
- auto_napi.cpp
- CMakeLists.txt
- package.json
- README.md
- shapes.h
- test_shapes.js
- auto_pybind.cpp
- CMakeLists.txt
- README.md
- shapes.h
- test_shapes.py
- .gitignore
- Algo.h
- person.h
- csharp.hxx
- dynamic.hxx
- html.hxx
- imgui.hxx
- java.hxx
- json.hxx
- julia.hxx
- lua.hxx
- markdown.hxx
- nanobind.hxx
- node.hxx
- openapi.hxx
- paraview.hxx
- python.hxx
- qml.hxx
- qt.hxx
- rest.hxx
- typescript.hxx
- wasm.hxx
- csharp.h
- dynamic.h
- html.h
- imgui.h
- java.h
- json.h
- julia.h
- lua.h
- markdown.h
- nanobind.h
- node.h
- openapi.h
- paraview.h
- python.h
- qml.h
- qt.h
- rest.h
- typescript.h
- wasm.h
- annotate.hxx
- coverage.hxx
- dynamic.hxx
- dynamic_cast.hxx
- generate.hxx
- mini_moc.hxx
- script.hxx
- walk.hxx
- scriptable.json
- node.hxx
- lua.h
- node.h
- python.h
- wasm.h
- csharp.h
- imgui.h
- java.h
- node.h
- qt_widgets.h
- script_casters.h
- json.hxx
- qml.hxx
- qt.hxx
- rest.hxx
- Inspector.qml
- json.h
- qml.h
- qml_reflected_object.h
- qt.h
- rest.h
- annotate.h
- annotations.h
- coverage.h
- dynamic.h
- generate.h
- interop.h
- matrix.h
- mini_moc.h
- paraview.h
- script.h
- sequence.h
- walk.h
- 01-shape.svg
- 02-rosetta-gen.svg
- 03-once.svg
- 04-goal.svg
- 05-stage1.svg
- 06-registry.svg
- 07-stage2.svg
- 08-caster.svg
- 09-oneline.svg
- 10-fanout.svg
- logo-rosetta.png
- qml.png
- qt-qml-imgui.jpg
- annotate_json.cpp
- base_classes.cpp
- CMakeLists.txt
- coverage.cpp
- docgen.cpp
- dynamic.cpp
- dynamic_gen.cpp
- expose.cpp
- free_overload.cpp
- inheritance.cpp
- interop_eigen.cpp
- interop_sequence.cpp
- matrix.cpp
- member_object.cpp
- moc.cpp
- module_init.cpp
- nested_enum.cpp
- node_trampoline.cpp
- out_dir.cpp
- out_params.cpp
- overload.cpp
- path_shared.cpp
- python_trampoline.cpp
- ref_return.cpp
- runtime_pins.cpp
- sequence.cpp
- shared_ptr.cpp
- template_spelling.cpp
- user_lib.cpp
- build.cpp
- build.h
- clean.cpp
- clean.h
- CMakeLists.txt
- emit.cpp
- emit.h
- init.cpp
- init.h
- manifest.cpp
- manifest.h
- rosetta_gen.cpp
- util.cpp
- util.h
- rosetta_init.py
- .clang-format
- .gitignore
- CHANGELOG.md
- LICENSE
- README.md
- TODO.md
# Use via CDN
jsDelivrjsDelivr 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 ▼
cmake
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
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 ▼
julia
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 ▼
lua
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 ▼
node
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
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 ▼
readonly
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`:
