Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed Arturo extension in VSCode but can't run Arturo script #6

Open
cosacam1 opened this issue Jul 24, 2024 · 7 comments
Open

Comments

@cosacam1
Copy link

First time in Arturo
I installed extension from https://marketplace.visualstudio.com/items?itemName=drkameleon.arturo
Created a new file in VSCode (one of the Arturo examples) and saved it with file type .art in a folder
When I try to run it (F5 or Ctrl+F5) if says "You don't have an extension for debugging Arturo. Should we find a Arturo extension in the Marketplace?"
I click "Find..." and nothing happens
If I try to run it with the Play sign with the bug (on the left) it asks me to open a file to be debugged or run (which is open already) OK, I pick the same file from disk and it shows me the same error message as before.
Then I try to create a launch json.file (as sugested by VSCode), it asks me to select a debugger from a list. At the end of that list says "Install an extension for Arturo" (which I already did, see above)
Any help, please? Thanks

@cosacam1
Copy link
Author

By the way, I've been using VSCode with Red, without any problem. I remember I copy/pasted some extension file somewhere in my disk and everything fine (though I haven't programmed with VSCode and Red for over a year)

@drkameleon
Copy link
Contributor

@cosacam1 Hi and thanks a lot for your message! 😄

I read it yesterday but then I got caught up with different offline stuff and totally forgot about it sorry!

As for the question:
I've been using the VSCode extension exclusively... basically, that's exactly where I code in Arturo. And it's working quite ok for me: .art files are recognized as Arturo files (and get their appropriate syntax highlighting), or I could choose it from the syntax dropdown.

Now, running Arturo scripts is something that is not supported by the extension (yet) - but you've definitely given me a great idea, as a new challenge! 😉

@drkameleon
Copy link
Contributor

(If I missed the point of your message, please let me know! 😉 )

@cosacam1
Copy link
Author

cosacam1 commented Jul 26, 2024 via email

@drkameleon
Copy link
Contributor

drkameleon commented Jul 27, 2024

Cosme, Good morning!

And thanks a lot for your kind words - they definitely add to the motivation! Trust me! 😉

There's something else. I downloaded Arturo for Windows from your site.
Unzipped and run it. Some dll files missing. I downloaded them from several
sites elsewhere. Then 0xc000007 error.

I'm not a Windows user myself, but I think the issue has been fixed some time ago - only I'm in the process of updating the currently packaged build files (so that the DLLs are included).

That being said, if you want to access the latest valid build (from the master branch) for Windows, you may try these ones:

MINI: https://github.com/arturo-lang/arturo/actions/runs/9715614776/artifacts/1649327299

FULL: https://github.com/arturo-lang/arturo/actions/runs/9715614776/artifacts/1649327295

(both links point to a .zip archive download, that should contains all necessary DLLs pre-packaged)

I googled and saw you had a solution
already in an issue answer: another installation for AMD processors. I had
downloaded the one for Intel x86 64 bits. In fact my laptop is AMD. I
unzipped, ran Arturo and no problem.

My question is Why don't you put the Arturo installation for AMD together
with the other installations in the Download page of Arturo's website?

This is mostly a confusing thing that has to do with how 64-bit builds are named. And, yes amd64 and x86_64 are practically the exact same thing - what changes is who takes the... credit. haha Have a look: https://itsfoss.com/arm-aarch64-x86_64/

By the way, the site is very well designed, so the language. I've been
using Rebol and Red since 2019. Great languages. I hope Arturo be great
too. What I have seen so far in the documentation pleases me. But I haven't
tested yet.

Thanks! :) I've mostly tried to keep it clean and helpful.

(I should mention here that the online documentation reflects the latest official release, 0.9.83, and not the one above ^), although the vast majority of things should be working in an identical fashion. Not too long now! 0.9.84 is ... literally around the corner! 😉

What attracts me more is Webview. I hope it to be as easy and powerful as
Red's View DSL.

The webview was part of the reason why I started out to develop the language: a language-for-everything in which you could write frontend/backend, and get portable apps for every possible OS. Not really sure we are there. But it has always been a goal of mine since day 1.

However, I don't see a Webview example in your hugh
Example section in the site. Kudos for that section!

It started as some sort of challenge ("can I implement problem X from Rosetta Code in Arturo?") and apparently - little by little - it grew far above my initial expectations. So much so that we've ended up using it as reference examples! haha.

For the record, in Rosetta Code, in terms of examples listed/implemented, Arturo is currently at position #40, out of more than 850 (and above languages like PHP, Clojure, Erlang, Pascal, etc) - not bad, not bad... 😉 ➡️ https://rosettacode.org/wiki/Rosetta_Code/Rank_languages_by_popularity/Full_list

Have a great day!

Cheers from Granada, Spain

P.S. Soy de origen griego, aunque llevo aquí casi 10 años. Así que, obviamente podría responder en español, en el caso de haga falta! 😉

@cosacam1
Copy link
Author

cosacam1 commented Aug 2, 2024 via email

@drkameleon
Copy link
Contributor

@cosacam1

Buenos días!

Acabo de ver el mensaje! Por alguna razón, no vi ninguna notificación! Lo siento mucho.

Arturo desde sus inicios se ideó con el propósito de poder crear aplicaciones que funcionaran sin problema en todos los sistemas operativos (macOS, Windows, Linux, etc) y con interfaz gráfica, etc (GUI)... así que soportar un componente webview, sí que lo soporta. Ahora, creo que podría ser mejorable y que faltan mejoras. Pero el "núcleo" ya lo tenemos.

En cuanto al tema de servidores, Arturo sí que soporta su creación, un poco al estilo de Sinatra (de Ruby).

Por ejemplo:

https://discord.com/channels/765519132186640445/1208278896760594503/1208362529772933161

Ahora, como ya he dicho, obviamente queda bastante por hacer. Pero ya tenemos una base sobre la que podemos trabajar y que sí, ya se está usando (p.ej. en Grafito: https://github.com/arturo-lang/grafito) 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants