Skip to content
/ quill Public

Simple, lightweight and easy-to-use scripting language designed for interactive fiction!

License

Notifications You must be signed in to change notification settings

ThePat02/quill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quill Banner

GitHub Actions Workflow Status GitHub go.mod Go version GitHub License

Quill is a simple, lightweight and easy-to-use scripting language designed for interactive fiction and branching dialog written in Go. Dialog is written in a natural, human-readable format, making it accessible for writers and developers alike.

Important

This project is still in development and is missing some features. If you encounter any issues, please open an issue on GitHub.

MrsBennet: "My dear Mr. Bennet, have you heard that Netherfield Park is let at last?"

CHOICE {
    "Yes." { MrBennet: "I think I have!" } [lie, noncanonical],
    "No." {
        MrBennet: "I have not!"
        GOTO news
    }
}

MrsBennet: "Oh, you haven't! I am quiet sure of it!"
MrBennet: "Well, you caught me, but I cannot believe it is true."

LABEL news

MrsBennet: "But it is, for Mrs. Long has just been here, and she told me all about it."
MrsBennet: "Do you not want to know who has taken it?"
MrBennet: "You want to tell me, and I have no objection to hearing it."

END

For a comprehensive example showcasing all available syntax features, please refer to syntax.q!

Usage

If you are on Linux, you can grab the binary from the latest workflow artifacts. On windows you need to build it from source, which is straightforward.

You can run Quill in your terminal with the following command. Make sure you have the Quill binary in your PATH or specify the path to the binary directly.

quill [flags] <file>

Building

To build Quill from source on Linux, you need to have Go installed. Then, run the following command:

go build -o quill ./cmd/quill

Utilities

About

Simple, lightweight and easy-to-use scripting language designed for interactive fiction!

Resources

License

Stars

Watchers

Forks

Releases

No releases published