Skip to content

An extension to Fstar Mode in Emacs that allows switching between F* installations and working in the compiler

License

Notifications You must be signed in to change notification settings

briangmilnes/FStar-Switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FStar-Swich

An extension to Fstar Mode in Emacs that allows switching between F* installations and working in the compiler

Setting up

After loading this after loading fstar-mode.el you can

M-x fstar-switch

installation-type: opam

installation-path (without ~, path to above FStar): /home/USER/

to access your fstar installation and have includes for working inside the compiler.

or

M-x fstar-switch

installation-type: system

installation-path (without ~, path to above FStar): /home/USER/contrib/

to access your fstar installation and have includes for working inside the compiler found in /home/USER/contrib/FStar

M-x fstar-switch

installation-type: local

installation-path (without ~, path to above FStar): /home/USER/contrib/

If you're working in ulib, don't use system as it adds --MLish for compilation of the compiler, use a local.

Other benefits

M-x compile will now recogize and count errors/warnings/infos and jump to many but not all file references.

Common Issues

If you get an 'a is not equal to the expected type b' you have not bootstrapped your FStar clone. cd FStar; make -j20 bootstrap.

About

An extension to Fstar Mode in Emacs that allows switching between F* installations and working in the compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published