gaijinentertainment / quirrel Goto Github PK
View Code? Open in Web Editor NEWQuirrel - Gaijin Entertainment dynamic script language
Home Page: http://quirrel.io
License: MIT License
Quirrel - Gaijin Entertainment dynamic script language
Home Page: http://quirrel.io
License: MIT License
With the removal of this part:
fd46233#diff-3ce5ab9909a4ebc05d8c2da9a58ebc7f92713705f952b89b80e8619e9ae8900dL387-L398
the ability to get script functions with sqrat broke for me (Using the latest sqrat with m_rootTable->GetFunction()).
The root table keys before the commit included the "function" lines from scripts, afterwards it seems to be only native. Is there another way to get the functions (for Sqrat::Function)? Couldn't find it in the documentation.
Thanks!
#if __cplusplus >= 201703L
using string_view = std::basic_string_view;
#else
using string_view = string;
#endif
"The /Zc:__cplusplus compiler option enables the __cplusplus preprocessor macro to report an updated value for recent C++ language standards support. By default, Visual Studio always returns the value 199711L for the __cplusplus preprocessor macro."
https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus
Seems to be the same for sqrat
Even if the __cplusplus is correct the default C++ language standard for VS 2019 is C++14.
cmake has set(CMAKE_CXX_STANDARD 11) but it should probably be 17 now (for string_view)?
Hi!
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are here. E.g. PGO results for LLVM-related tooling are here. According to the tests, PGO usually helps with the compiler and compiler-like workloads (like static analysis) - e.g. Clang gets +20% compilation speed with PGO, CPython achieves +10% in pybench
. So I think optimizing Quirrel tooling (like VM, compiler and the static analyzer) with PGO would be a good idea at least to try.
I can suggest the following action points:
Testing Post-Link Optimization techniques (like LLVM BOLT) would be interesting too (CPython, Clang, and Rustc already use BOLT as an addition to PGO) but I recommend starting from the usual PGO.
Here are some examples of how PGO optimization is integrated in other projects:
The same issue was created for daScript since these two projects can have different lifecycles, priorities, and PGO can be tested and integrated into them independently.
The CLOSURE_HOISTING_OPT is off by default in quirrel. Is it required now?
Compiled with Visual Studio 2019.
Thank You!
causes the underliner pos to be off.
Could be just 4 spaces for now?
#define NEXT_TAB() {Next();_currentcolumn += 4;}
case _SC('\t'): _flags |= TF_PREP_SPACE; NEXT_TAB(); continue;
Best would probably if it counts the tabs and the underliner prints them.
The problem is unrelated to msys2 as previously thought. Using cmake with ninja generator and a standalone MinGW distro (winlibs.com in my case), it failed to compile. Too many output displayed on the screen, I saw full of warnings but can't find any errors so I don't know what is the errors that caused this. Maybe I just missed it.
A lot of xxx already declared messages.
The comment at the top in sqmodules.h also states:
/*
This is not a production code, but a demonstration of concept of modules
*/
is this still the case? :)
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.