uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.63k stars 116 forks source link

`&about` system function on uiua pad web? #135

Closed goyalyashpal closed 1 year ago

goyalyashpal commented 1 year ago

currently there seems to be no direct way to know the running version of uiua on uiua-pad online.

so, i was thinking that maybe having a system function i.e. smth like &about or &ver may help in those cases.

though this doesnt need to be a lang's function & there can be other ways to tackle this too.

on the other hand, being a lang fxn may provide value at places other than just the website too (ig)

kaikalii commented 1 year ago

On native uiua -V gives the current version. On the website, there is the changelog. I don't see much value in adding it as a system function.

goyalyashpal commented 1 year ago

I don't see much value in adding it as a system function

yeah, i was thinking same.

how about adding a current version ui widget on uiua-pad webpage itself?

kaikalii commented 1 year ago

The pad now shows the version number in the link.

goyalyashpal commented 1 year ago

example: https://www.uiua.org/pad?src=0_3_1__Mwo=