Comments (46)
astro new
and astro init
commands are already working, heheheh.
$ git clone https://github.com/alien-as/astro
$ cd astro
$ npm link
Now:
$ astro new particle-control
$ ls -a || dir
src
main.as
.gitignore
astro.toml
Anyway, I don't know if I can work on this framework. I live with my mother and 3 siblings and they keep saying I do nothing, but that's not it. I should finish some projects, be them in AS3-AIR.
The thing is that Rust doesn't still have a good library like Flash's display. Just that... If I touch inheritance etc. in Rust, then I'll delay again with my things.
from flash.
My new parser is getting quite easier to understand. I'm using combinating methods, which touch a error stack, that's in turn moved to individual script's error stack thru a final parse method.
While I was thinking on multi-threading, I solved to strip unique_ptr programming, because it messed up the language's ideas, and instead can be done with addressof
plus a system-level API (if one needs to use ActionScript as if it were C++).
Overall it'll look like Swift, but based on ActionScript 3.0. E4X changes will be kinda cool.
from flash.
Sounds good!, keep it going, tell me when you have a working version of the compiler
from flash.
everything in time, take your time, the most important is to be strict with every piece of code.
from flash.
just keep in mind that more it will be like Actionscript, more you will get developers from.... ;)
from flash.
- Too many dBs from my neighbours side. Gotta call the police.
put ears plug, better ;) - So I'm stuck at Vegey btw, but I'm getting everytime near to bytecode...
always write a doc text with all options possibles with pros and cons
from flash.
I'm enjoying working in Vegey though. ¯_(ツ)_/¯ ... But when I unfortunately hear bad sound from house's exterior I don't focus well on what I'm doing.
I overloaded city's carnaval sound with Dragon's Curse. Carnaval and neighbours sound is
from flash.
I'm always working, sleeping with this
https://ch.iherb.com/pr/Hearos-Ear-Plugs-Sleep-Pretty-in-Pink-14-Pair/71061?gclid=Cj0KCQiAk-7jBRD9ARIsAEy8mh5Erff2UAcdTyXKeZKSKFRDsW-IDyr-e5YMs9_28Ja2JC6vKmS5jokaAuImEALw_wcB&gclsrc=aw.ds
with those I don't care what's outside...
from flash.
Destructuring patterns:
o = {x: dx, z: dz} = next()
(two assignments; right-associative; result ofnext()
is used in a pattern and then assigned too
)([ {x: ax, y: ay} ]) => bonus::process(ax, ay)
(lambda that takes coordinates from the 1st element of its parameter and alias them with aa
prefix)
Vegey has no tuples (like (x, y, z)
in Rust or Python), but it supports structs ([Data]
classes) and ES-like recursive destructuring.
I could add them, but there's no perf. benefit and would cluster up semantics. The syntax would be boring too.
Tuples (those in Rust, Cone or Python) are immutable arrays with mixed types (e.g. (Type1, RandType, float)
, where members aren't named and thus you do vec.0
to access x-coord in vec = (x, y, z)
, or you use destructuring:
for (x, _, _) in locations {
println!("{}", x);
}
In Vegey it'd be like:
for each (var {x, _, _} in locations)
trace(x)
So it looks good, yeah? ActionScript-like, super-efficient.
from flash.
LGTM, nice job!, the most important now is once you have all tests and components done
a good article on your git hub with a good and clear example thus to attract other developers and create a team.
from flash.
from flash.
from flash.
is this https://github.com/jedisct1/wasmonkey can be an inspiration?
from flash.
Replacing native
functions? A biiit
from flash.
https://github.com/jedisct1 has good projects with rust,....
from flash.
Rust is good too, but just the APK development is vague :/
android-rs-glue
depends in NDK/SDK and I can't have it in my phone to build and test apps.
I hope one day I can use Rust :| I just wanted to write my gfx lib, but right before a APK generator? No interest on doing that :v
from flash.
You're settled to watch all subsequent repos in alien.as, hmmm...
from flash.
- I live with my mother and 3 siblings and they keep saying I do nothing
well, the big dilemma of the developer and family/friends who don't have a clue of what is coding, fought 20 years on this matter ;)
do what you need to do ! :)
from flash.
know this?
https://github.com/glium/glium
from flash.
cannot use npm on my server, fedora 28 did not update npm with openssl 1.1 :(
from flash.
Did you try npm i -g npm
? I don't know exactly openssl
... But it looks to be on all Linuxes.
from flash.
error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
if I recall nodejs is still stuck with openssl-1.0.x and Fedora 28 removed it for 1.1.x.
I'm super busy for now... :(
from flash.
These kinds of system dependencies are silly... Unfortunately :\/
from flash.
A good article from 2011, maybe mature today
https://promethe.io/2013/09/23/from-actionscript-3-to-c-2011/
from flash.
But I think in that case one can just target ANE from C++ code and invoke a native
entry function from AS.
Developing Native Extensions for Adobe AIR
from flash.
Wohow, static const
flash.utils.ByteArray
s are thread-unsafe.
from flash.
bytearray is be design shared :)
mutex can manage the threads runninng
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/concurrent/Mutex.html
from flash.
- But I think in that case one can just target ANE from C++ code and invoke a native entry function from AS.
yes good idea
from flash.
@ROBERT-MCDOWELL But in case I needed non-stream operations on ByteArray
, so that I'd not need thread-locks, e.g.: ba.readUnsignedInt(i)
rather than just ba.readUnsignedInt()
. The parsers I'm building could be rant simultaneously because they don't touch each other.
from flash.
ha ok :)
from flash.
That's another downside of Adobe AIR. But I weren't supposed to multi-thread, because I usually don't.
Wait, I forget workers are isolated... So I won't re-use my lib between threads and I'll also not multi-thread for now.
from flash.
there still are workers, a kind of pseudo multithread...
from flash.
I mean, workers can't re-use same objects easily. It'd be like hacking AIR runtime.
from flash.
only one way, reverse engineering so :)
from flash.
btw, there is no true multithread available on web development, because it's unsafe
from flash.
Yep. Fortunately low-level APIs are possible in any language!
This is from this year: WebAssembly Threads ready to try in Chrome 70
I think they're unsafe for developer 'pitchfalls'. E.g., when nullying weak references in collections threads may overdo something in a internal race condition... Something so, but they'll never corrupt the browser as they're sandboxed.
from flash.
Again I just got an idea and AS-N (actual language name) will easily support multi-threading. It's very fun... Types will be either atomic or solo-threaded.
In Rust you've some Arc
(atomic reference counters), sync::Weak
(weak version of Arc
) and some functions that implement Sync
+ Send
traits. In case I'm planning to just have a IAtomic
interface in the unnamed package ;)
from flash.
Great idea, I like AS-N too!. if you succeed real multithread for a web language so most of developers will find a great interest to it. But I still not catch if the browser is the limit or not
from flash.
Adobe AIR would be more important as a first target, because people will be able to directly take the compiler and produce apps with it (probably with some package manager).
from flash.
ok anyhow there will be always bridge between air and web app.
from flash.
here a nice blog about code optimization
https://jacksondunstan.com/
from flash.
more and more companies start to wakeup about the 2020 Flash deadline and most of them start to panic since they sell/use/share since 10 years and more their applications. So if you are conscious to build also a converter that will convert transparently Actionscript2/3 to Vegey and are really strong to write a consequent language manual focusing syntax diferences between As and Vegey so your language will have a chance to survive.
It appears that now most of language teams are targeting Wasm, Wat and derivative as embedded container for web, non web to replace all downloadable app for mobiles and plugins for web browsers on pc like.
from flash.
My suggestion: fork ruffl and create a new module called As3 native so you will be free to have an already big community with high interests. The only thing you should respect is the As3 language, and for sure add new write options. This way the language itself will be able to add new classes and functions.
from flash.
Maybe you can ask the question to the ASC2 git project? I'm sure they will answer quickly.
from flash.
it's an alternative yes, just never forget, the most simple to do is usually harder than to do complex in an easy way.
from flash.
@ghost
how are you? long time didn't hear you!
from flash.
Related Issues (4)
- Work HOT 58
- Flash Display HOT 144
- ShockScript HOT 1
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 flash.