Giter Club home page Giter Club logo

Comments (7)

AntonYudintsev avatar AntonYudintsev commented on May 31, 2024 1

a lot of documentation was added

from dascript.

AntonYudintsev avatar AntonYudintsev commented on May 31, 2024

Have you looked into:
https://github.com/GaijinEntertainment/daScript/blob/master/utils/daScript/main.cpp
It is may be a bit longer then just "run one script" as it runs as many files at once as you pass in command line, but overall still rather simple.

from dascript.

Arcnor avatar Arcnor commented on May 31, 2024

Right, that seems useful, although my messages was a more general example as something that can be improved. Maybe just adding that to the docs will be helpful? It might not be obvious right now.

from dascript.

AntonYudintsev avatar AntonYudintsev commented on May 31, 2024

In the moment, documentation on the embedding itself is more like "absent" than "sparse"... Current documentation is about the language mostly.

I agree that it is needed, but it seems it will take a while to make it.

from dascript.

TwoDimensionsReturn avatar TwoDimensionsReturn commented on May 31, 2024

Hello @AntonYudintsev ,

I'm trying daScript for the first time.

I'm looking for an example how to define a class in daScript (found how to) and how to instantiate it in C++.
For this latest point, I'm a bit clueless reading the documentation and checking the examples.

My full use case will be to define a class in c++, derived from it in .das with an overridden method, then call this method in C++.
Do you have any advice or example for me, please?

from dascript.

AntonYudintsev avatar AntonYudintsev commented on May 31, 2024

I will start from your last (final) task.
Yes, my be certain simple sample would be worth making.
But as for now, you can look into DebugAgentAdapter or DataWalkerAdapter. That is doing exactly what you want.
sample is coming

from dascript.

TwoDimensionsReturn avatar TwoDimensionsReturn commented on May 31, 2024

thanks a lot, I'll give it a shot

from dascript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.