You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ferret check — Validate FQL scripts for syntax and semantic errors without executing them. Processes all files (doesn't bail on first error), reports a summary. Supports stdin.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
New Commands
ferret check— Validate FQL scripts for syntax and semantic errors without executing them. Processes all files (doesn't bail on first error), reports a summary. Supports stdin.ferret fmt— Format FQL scripts with configurable style options (--print-width,--tab-width,--single-quote,--bracket-spacing,--case-mode). Supports--dry-runfor preview and stdin input.ferret inspect— Compile and disassemble FQL scripts into bytecode. Subview flags for focused output:--summary— high-level program overview (functions, constants, registers, instructions, params)--bytecode— instruction listing with labels--constants— constant pool--functions— host + user-defined function definitions--spans— debug source spansferret repl— Interactive FQL shell, extracted from the oldexeccommand into its own command.Changed Commands
exec→run— Renamed for brevity. Added-e/--evalflag for inline script execution.Internal / Structural
v2.0.0-alpha.1) and Go 1.26.1pkg/—browser,config,logger,repl,runtime,selfupdate,sourcesource.Resolve— common input resolution (file args,-eeval, stdin) used byrun,check,fmt,inspectcmd/flags.goandcmd/errors.go** — common flag helpers (addEvalFlag) and error formatting (printErrorusingdiagnostics.Format)Runreturnsio.ReadCloserinstead ofio.Readerfor proper resource cleanupThis discussion was created from the release v2.0.0-alpha.2.
Beta Was this translation helpful? Give feedback.
All reactions