Re: [Pharo-users] Embedding pharo in C++

2020-04-23 Thread Roland Plüss via Pharo-users
> Alexandre Bergel  http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On 21-04-2020, at 09:04, Roland Plüss via Pharo-users >> mailto:pharo-users@lists.pharo.org>> wrote: >> >> >> *From: *Roland Plüss mailto:rol...@rptd.ch&g

Re: [Pharo-users] Embedding pharo in C++

2020-04-21 Thread Roland Plüss via Pharo-users
--- Begin Message --- The dragon has been unleashed. The game engine is now available to the public. See https://www.indiedb.com/engines/dragengine for more information. Right now the Smalltalk Script Module is a proof of concept with the GNU Smalltalk. The idea is to change this to use Pharo and

Re: [Pharo-users] Embedding pharo in C++

2020-01-22 Thread Roland Plüss via Pharo-users
--- Begin Message --- I gave the C-Example repository a try but I don't fully understand how it works. Does the vm_main_with_parameters() block until the VM is quit or some function it runs? From looking at the source code I'm not sure what it does. On 1/22/20 12:17 PM, Pierce Ng wrote: > On Wed,

Re: [Pharo-users] Embedding pharo in C++

2020-01-21 Thread Roland Plüss via Pharo-users
--- Begin Message --- Hi Stéphane, In the GnuSmalltalk PoC I could init the VM and then I run functions in it like this:    gst_perform(pObjGame, selector); Then I created some native test functions in C like this:    gst_define_cfunc("DECanvas.setPosition", (void*)funcSetPosition);" I then adde

Re: [Pharo-users] Embedding pharo in C++

2020-01-21 Thread Roland Plüss via Pharo-users
--- Begin Message --- Looks like you always meet twice in life I guess. You won't remember me but I've been a student of yours once upon time. Nice to see you again, Prof. Ducasse, I had in mind to have the VM running in two modes actually. The first mode is the "runtime mode". This would be the

[Pharo-users] Embedding pharo in C++

2020-01-21 Thread Roland Plüss via Pharo-users
--- Begin Message --- As the topic title mentions I would like to embed pharo into a GPL/L-GPL licenses software. I experimented before with a PoC based on GnuSmalltalk which allows embedding and this worked but GnuSmalltalk is kinda outdated and even fails to properly compile since some time. Fo