Initialize a new SLOP project in the current directory.
Creates a new SLOP project with slop.toml and starter source file.
/plugin marketplace add rhinoman/slop-plugin/plugin install rhinoman-slop@rhinoman/slop-pluginInitialize a new SLOP project in the current directory.
Create a slop.toml configuration file by prompting the user for project details.
Check if slop.toml already exists - if so, ask before overwriting
Prompt the user for:
Ask if they want to configure LLM providers for hole filling (optional)
Generate the slop.toml file
[project]
name = "<project-name>"
version = "<version>"
entry = "<entry-point>"
[build]
output = "<output-path>"
include = ["src"]
type = "<build-type>"
debug = false
[build.link]
libraries = []
library_paths = []
If the user wants hole filling support, add:
[providers.ollama]
type = "ollama"
base_url = "http://localhost:11434"
[tiers.tier-1]
provider = "ollama"
model = "phi3:mini"
[tiers.tier-2]
provider = "ollama"
model = "llama3:8b"
Create src/main.slop (or the configured entry point) with this exact SLOP syntax:
;; main.slop - Entry point
(module main
(export main)
(fn main ()
(@intent "Program entry point")
(@spec (() -> Int))
(println "Hello, SLOP!")
0))
CRITICAL: Use exact SLOP syntax - (fn name () ...) not (defun ...) or (define ...).
src/)Created slop.toml
Created src/main.slop
Next steps:
slop check src/main.slop # Type check
slop build # Build project