ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
236 stars 26 forks source link

ELENAVM : display if VM is 32 or 64 bit on Windows? #680

Closed arakov closed 3 months ago

arakov commented 3 months ago
  1. Is your feature request related to a problem? Please describe. When VM is initialized, the greeting is displayed

    ELENA VM 6.3.5 (C)2022-2024 by Aleksey Rakov

The information if it is 32 or 64 bit version must be displayed

Describe the solution you'd like ELENAVMMachine :: init method must be modified to display the type of binary, something like

 ELENA VM 6.3.5 (32 bit) (C)2022-2024 by Aleksey Rakov
YairBybabayov commented 3 months ago

When VM is initialized

when does it happening?

I think I solved it (and all the test are running well) but how do I test if it works?

arakov commented 3 months ago

You can test it.

If you go to examples60/console/helloworld and complie with virtual profile:

elena-cli.exe -lvirtual helloworld.prj

where -l select a profile. As a result you can have several configurations inside a single project file.

It will be 32 bit version

If you use 64 bit compiler- elena64-cli - it will be 64 bit version

arakov commented 3 months ago

Fixed. Thank you Yair once again