Comments (24)
Well then I need to declare static linkage as "not supported" for nyan. Sounds good?
from nyan.
@duanqn No that's just the test tool for checking the parser. I think we can remove it from release builds.
from nyan.
@duanqn New release is pushed and should be ready.
from nyan.
I created #110 so we don't forget.
from nyan.
FYI, I have added nyan to vcpkg via microsoft/vcpkg#32250 .
from nyan.
Working on this PR: microsoft/vcpkg#32250
from nyan.
Hi, I think this is a pretty good idea!
#106 would result in a version bump / new release so this would be good time for packaging. It will probably be merged alongside SFTtech/openage#1515 which is still a 1-2 weeks away from completion. However, it would be a relatively stable release for use in openage.
from nyan.
Hi @heinezen , when porting the current nyan to vcpkg I got this error:
warning: The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.
D:\packages\nyan-lang_x86-windows\bin\nyancat.exe
warning: The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.
D:\packages\nyan-lang_x86-windows\debug\bin\nyancat.exe
Is this nyancat.exe (on Windows) necessary for nyan?
from nyan.
Got it. Thanks. I'll see if I can register it as "tools". If not, I'll remove it.
from nyan.
nyancat
was intended as a formatter/check/print/coloring tool, but right now it's just for testing validity. so for packaging we currently don't need it, but it may be useful later if we add the features. if vcpkg has no nyan
package so far, i'd favor naming it nyan
instead of nyan-lang
, since it will contain nyan.dll
etc and not nyan-lang.dll
.
from nyan.
Hi @TheJJ , I will put nyancat
in the vcpkg package as a tool binary.
As for the name of the package. I'm using nyan-lang
because vcpkg favors the name from repology. Looks like this nyan is called nyan-lang
and nyan
points to https://github.com/shibumi/nyan.
from nyan.
@duanqn New release is pushed and should be ready.
Got it. Will update to 0.3.0 on vcpkg side.
from nyan.
Hi @TheJJ , there are build failures on UWP. Can you have a look?
install-x64-uwp-dbg-out.log
Also, all static linkage builds failed because nyan produces dynamic libs. If we don't want to support static libs, I can disable the static builds.
from nyan.
Also the build failed on OSX. I don't understand the errors. Looks like an issue with the compiler?
install-x64-osx-dbg-out.log
from nyan.
Also the build failed on OSX. I don't understand the errors. Looks like an issue with the compiler?
@duanqn AppleClang is notorious for being out-of-date, so maybe that's where the problems come from? Can you try normal clang and check if that works out? Just tested it with the current build on Ubuntu and it compiles fine in Clang 15.
from nyan.
@heinezen Could be. However, I cannot change the clang version in their build pipelines because it should represent the reality of OSX... I'm going to disable OSX build (until their compiler catches up with everyone else).
from nyan.
@heinezen Could be. However, I cannot change the clang version in their build pipelines because it should represent the reality of OSX... I'm going to disable OSX build (until their compiler catches up with everyone else).
Understandable but frustrating. AppleClang is now 2 standards behind with this.
from nyan.
@heinezen Meanwhile, can you check the UWP build errors?
Also, do we plan to support a static library build?
from nyan.
adding a static library option is simple, what would we need it for? i like dynamic linking :)
from nyan.
At the moment it is not supported, yes. But it's not hard to add, if we have a good reason it can be done of course :)
from nyan.
Looks like the UWP failure is because SymInitialize does not exist in UWP. Any ideas on how to fix it?
from nyan.
@duanqn As far as I understand it, there's no equivalent and UWP simply does not allow most debug thing to be build. So we have to check for the UWP build and remove the dbghelp.h references entirely.
from nyan.
https://cmake.org/cmake/help/latest/variable/WINDOWS_STORE.html seems to inducate UWP support
from nyan.
nicely done :)
from nyan.
Related Issues (20)
- Build fails with `nyan/config.h:20:17: error: ‘uint64_t’ does not name a type` and `nyan/config.h:23:17: error: ‘order_t’ does not name a type` with GCC 13.1.1. HOT 2
- Use string views HOT 1
- Replace (un)likely macro with C++20 attribute HOT 1
- Replace `fqon_t` with more advanced identifier type HOT 4
- Fixed point type
- Static library support
- Windows UWP
- Add metaclass like python HOT 5
- Add decorator like python HOT 1
- Syntax highlighting for the web HOT 1
- Allow storing abstract object references in members
- Allow operations with float values for int data type HOT 1
- Hot reloading HOT 6
- Mitigate runtime errors for inf values HOT 1
- Number types compatibility (int<->float) considerations HOT 1
- v0.1 tag failed to compile on Windows HOT 5
- File API HOT 2
- Debian package HOT 6
- Prefix nyan object declarations with keyword `obj`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyan.