ejimlee / varobject Goto Github PK
View Code? Open in Web Editor NEWProvides a variable class with weak type.
License: BSD 3-Clause "New" or "Revised" License
Provides a variable class with weak type.
License: BSD 3-Clause "New" or "Revised" License
Hey.
Im trying to write a class that interfaces a scripting language's dynamic typing - but I am terribly stuck. x)
Appearently, in C++, I can not define multiple functions that differ only in their return type but otherwise have the same declaration.
And, I also can't seem to create a private subclass that I could return, that then could have operators to cast into the specified types. It just does not really want to work.
So I'd like to know if you could give me a tipp on doing that?
Here's some information about the scripting language I am trying to interface:
getValueId(int offset)
)toString()
, toBool()
, etc.It's here: https://github.com/unitpoint/objectscript
I mainly want to do that, in order to be able to create a reference to a scirpted function, so I could store it. Actually, Im using VarObject in the same project already that I want to use the script-type interface at.
So if you have any tipp for this, it'd be nice to learn about it =)
Kind regards,
Ingwie
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.