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

Example ("hello world") program is not working #3

Open
merkys opened this issue Dec 5, 2018 · 0 comments
Open

Example ("hello world") program is not working #3

merkys opened this issue Dec 5, 2018 · 0 comments

Comments

@merkys
Copy link

merkys commented Dec 5, 2018

starta --help among other information gives a "hello world" example for --execute command line option:

andrius@amalas:~/debian-packages/starta$ starta --help
Compile and run an SLC program

<skipped for brevity>

Options:
  -c, --compile-only  Only compile a program, do not run it.
  -e, --execute '. 1' Execute a Starta program.
<skipped for brevity>

However, starta -e '. 1' does not work:

andrius@amalas:~/debian-packages/starta$ starta -e '. 1'
starta: -e (1,3): ERROR, type with empty suffix is not defined in this scope for types of kind 'integer'

. 1
  ^
starta: -e (1,3): ERROR, not enough values on the stack for unary operator '.'
. 1
  ^
starta: 2 error(s) detected

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

1 participant