Skip to content

Demo syntax and syntax-markdown extensions #65 #66

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

Open
wants to merge 1 commit into
base: feature/file-event
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rasa-example-config/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import Rasa.Ext.Files
import Rasa.Ext.Logger
import Rasa.Ext.Cursors
import Rasa.Ext.Slate
import Rasa.Ext.Syntax
import Rasa.Ext.Syntax.Markdown

-- import Control.Monad
-- import Control.Monad.Trans
Expand All @@ -26,4 +28,5 @@ main = rasa $ do
cursors
logger
slate
syntax [markdown [Extension ".md"]]
afterInit $ addBuffer "This is a buffer to get you started!\nYou can also pass command line args to rasa"
2 changes: 2 additions & 0 deletions rasa-example-config/rasa-example-config.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ executable rasa
, rasa-ext-logger
, rasa-ext-files
, rasa-ext-slate
, rasa-ext-syntax
, rasa-ext-syntax-markdown
, lens
, data-default
, yi-rope
Expand Down
4 changes: 4 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ packages:
extra-deps:
- eve-0.1.7
- vty-5.25
- git: [email protected]:iilab/rasa-ext-syntax.git
commit: 20bbd32
- git: [email protected]:iilab/rasa-ext-syntax-markdown.git
commit: 9e326a8
- recursion-schemes-5.0.2

# Uncomment the following if you'd like to use a locally installed version
Expand Down