Skip to content

Flix syntax highlighting, command execution, and repl integration

Notifications You must be signed in to change notification settings

CadeMichael/flix-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flix Mode

Overview

  • provides a flix-mode for interacting with flix source code. It provides
    • syntax highlighting
    • funcitons for interacting with flix.jar, including downloading it.
    • repl integrations

Installation

  • this package can be installed with straight using its git repo
(use-package flix-mode
  :straight
  (flix-mode :host github :type git :repo "cademichael/flix-mode")
  :bind
  (:map flix-mode-map ; setting keybindings as I don't set them by default
	("C-c C-r" . +flix/run-project)
	("C-c C-b" . +flix/build-project)
	("C-c C-d" . +flix/set-jar-directory)
	("C-c C-c C-i" . +flix/install-jar)
	("C-c C-i" . +flix/init-project)
	("C-c C-c C-r" . +flix/repl-restart)
	("C-c C-z" . +flix/goto-repl))
  (:map flix-repl-mode-map
	("C-c C-c C-r" . +flix/repl-restart)
	("C-c C-z" . +flix/goto-flix-buffer)))

Commands

+flix/install-jarinstall flix.jar in specified directory
+flix/flix-commandpass a command to flix.jar
+flix/init-projectinitialize a flix project
+flix/run-projectrun a flix project
+flix/build-projectbuild fix project
+flix/replcreate a flix repl
+flix/goto-flix-buffergo to flix buffer that called repl last
+flix/goto-replgo to flix repl
+flix/repl-restartrestart flix repl
+flix/set-jar-directoryset the directory flix.jar resides in
+flix/send-line-to-replsend line to flix repl

About

Flix syntax highlighting, command execution, and repl integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published