Awesome
Awesome
LTLeaning Technologies
Created by Awesome on 5/11/2024 in #support
Compatibility with the typeof, instanceof keywords
Is there any expected support for the mentioned keywords in the future? Currently it's not such a big deal when working with typeof as it can be easily polyfilled with inlining. While speaking of instanceof, I haven't seemed to find any intrinsics in the API (see below), which would allow me to pass the wanted types. I know it's not doable with just simple __asm__ as it's quite limited for this case
instanceof<client::Object>(object);
instanceof<client::Object>(object);
12 replies
LTLeaning Technologies
Created by Awesome on 4/12/2024 in #support
WASM-less compiling
Is there a way to compile Cheerp code into a single JS target without any extra WASM support when it's unnecessary? Currently, my understanding is that both cheerp and cheerp-wasm produce WASM output regardless of whether non-genericjs functions are called or not. Is that correct?
4 replies
LTLeaning Technologies
Created by Awesome on 4/2/2024 in #support
Runtime class extending
How does a one extend existing JS class in Cheerp? JS example:
class ExtendedClass extends ExampleLibrary.BaseClass { /* ... */ }
class ExtendedClass extends ExampleLibrary.BaseClass { /* ... */ }
17 replies
LTLeaning Technologies
Created by Awesome on 2/25/2024 in #support
State of the C++ modules support
When the new C++ modules are expected to be supported?
5 replies