Skip to content

Latest commit

 

History

History
140 lines (97 loc) · 3.25 KB

index.rst

File metadata and controls

140 lines (97 loc) · 3.25 KB
sol repository

sol2 (sol2, version |version|)

a fast, simple C++ and Lua Binding

When you need to hit the ground running with Lua and C++, sol is the go-to framework for high-performance binding with an easy to use API.

get going:

.. toctree::
        :maxdepth: 1
        :name: mastertoc

        tutorial/all-the-things
        tutorial/tutorial-top
        errors
        compilation
        features
        functions
        usertypes
        containers
        threading
        traits
        api/api-top
        mentions
        benchmarks
        performance
        safety
        exceptions
        rtti
        codecvt
        build
        licenses
        origin


connect

Come to the Github Issues! We've got a friendly community, and they can help you out or you can come just to talk about the things you are working on!

sol2 Github Issues Page

support

You can support the project and other related endeavors in various ways.

sol2 Sponsors Page sol2 Patreon sol2 ko-fi sol2 ko-fi sol2 PayPal

This is a time-consuming effort, so individuals who donate get to:

  • steer the direction and time spent on sol
  • get their name put up in the CONTRIBUTORS list
  • put something of their choice on sol2's README or the documentation's front page

"I need feature X, maybe you have it?"

Take a look at the :doc:`Features<features>` page: it links to much of the API. You can also just straight up browse the :doc:`api<api/api-top>` or ease in with the :doc:`tutorials<tutorial/tutorial-top>`. To know more about the implementation for usertypes, see :doc:`here<usertypes>` To know how function arguments are handled, see :ref:`this note<function-argument-handling>`. Don't see a feature you want? Send inquiries for support for a particular abstraction to the issues tracker.

the basics:

Note

The code below and more examples can be found in the examples directory.

.. literalinclude:: ../../examples/source/docs/simple_functions.cpp
        :name: simple-functions-example
        :linenos:

.. literalinclude:: ../../examples/source/docs/simple_structs.cpp
        :name: simple-structs-example
        :linenos:




Search