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

Error running program using scli #1

Open
RAbraham opened this issue Jan 7, 2023 · 1 comment
Open

Error running program using scli #1

RAbraham opened this issue Jan 7, 2023 · 1 comment

Comments

@RAbraham
Copy link

RAbraham commented Jan 7, 2023

Hi,
I can't seem to run a scallop program?

❯ ls
hello1.scl  hello.scl  scli

❯ ./scli --help
sclrepl 0.1.4
Scallop Interactive REPL

USAGE:
    scli [FLAGS] [OPTIONS]

FLAGS:
    -d, --debug          
        --debug-back     
        --debug-front    
        --debug-ram      
    -h, --help           Prints help information
    -V, --version        Prints version information

OPTIONS:
    -p, --provenance <provenance>     [default: unit]
❯ cat hello.scl
// hello.scl
rel hello = {"Hello World"}

❯ ./scli ./hello.scl
error: Found argument './hello.scl' which wasn't expected, or isn't valid in this context

USAGE:
    scli [FLAGS] [OPTIONS]

For more information try --help

OS: Ubuntu 22.04

@Liby99
Copy link
Contributor

Liby99 commented Jan 10, 2023

From what I can see in your snippet, What you actually executed is sclrepl (a command line interactive mode of scallop) as opposed to scli. Let me check if my distribution is uploaded with their name correct. Otherwise, you can always build from source and that'll make sure the right scli is installed.

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