edgardec / Nastya

Attempt of have a Smalltalk helper for working with WebAssembly
2 stars 0 forks source link

Installation and Setup #2

Open darth-cheney opened 4 years ago

darth-cheney commented 4 years ago

Hi,

I'm trying to follow the README instructions, on both OSX and Linux. This repository seems to contain an image and changes file, so should I use my own VM, then load from the contents of this folder? Or should I start with a full fresh Squeak 6 alpha setup (which to my mind would include a new fresh image)?

edgardec commented 4 years ago

Hi,

I'm trying to follow the README instructions, on both OSX and Linux. This repository seems to contain an image and changes file, so should I use my own VM, then load from the contents of this folder? Or should I start with a full fresh Squeak 6 alpha setup (which to my mind would include a new fresh image)?

Could start from a fresh Squeak or as quick start from the shared .tgz located in my Google Drive. https://drive.google.com/file/d/1x8sgKPy3BDYWKeagykhiJ8zcLmog02oR/view?usp=s haring Just updated to Squeak6.0alpha-19961-64bit I new to Git and must learn a lot, the idea is not to have the .image and .changes in the repo. And I resurrect the old way of having a updates folder and use for updating the .image. I'm try to teach some students with almost zero knowledge about computers. Imagine yesterday I have to tell about Xerox and Sun .... If you wish we have a Discord chat https://discord.gg/qNbgQx And in Public IP:181.164.164.211:9090 user: visita , without pass you have Squeak wiki, Ale Reimondo stuff and my own notes.

The idea is: Instead of have a Linux box with several things installed, you only have a Squeak .image

You could locate a .wasm file and "forensic" it. The Transcript shows same output as WABT https://cdn.rawgit.com/WebAssembly/wabt/7e56ca56/demo/wast2wasm/ Also a file foo.txt is created for later use. You could locate a .wast file and create a valid .wasm You have a server wich could use a mix of html5,css,js,wasm I use Firefox, but these days another browser is fine, localhost:9091 shows the ChanchoWasn pict. localhost:9091/something should show valid page if Squeak understand it , otherwise shows error in browser. localhost:9091/demos shows elementary .wasm output if you click the buttons localhost:9091/gwd shows more complex effects and games.

All is pre alpha so could fail I wish to learn elemental wasm for have Smalltalk could create .wasm instead of bytecodes. If this goal could be done, no more VM promblems, the VM is the browser

And now teach me how create my own small .image

Cheers and stay safe.

Edgar @morplenauta