File: README

package info (click to toggle)
faust 0.9.95~repack1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 164,732 kB
  • ctags: 18,777
  • sloc: cpp: 90,427; sh: 6,116; java: 4,501; objc: 4,428; ansic: 3,301; makefile: 1,298; ruby: 950; yacc: 511; xml: 398; lex: 218; python: 136
file content (50 lines) | stat: -rw-r--r-- 1,725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Faust Syntax Highlighting Files
-------------------------------

This folder contains syntax highlighting files for various editors. The editors currently supported are : KDE Kate/Kwrite, GNOME gedit, Macintosh TextWrangler, highlight and vim

1) KDE Kate/Kwrite
install the file 'faust.xml' into Kate syntax folder ('/opt/kde3/share/apps/katepart/syntax' on suse 10.0)
('/usr/share/apps/katepart/syntax' on mandriva and ubuntu)

2) gedit
Install the file 'faust.lang' into gedit syntax folder ('/usr/share/gtksourceview-2.0/language-specs' on Ubuntu 9.10)


3) TextWrangler
install the file Faust.plist into ~/Library/Application\ Support/TextWrangler/Language\ Modules/

4) Highlight
install dsp.lang into /usr/share/highlight/langDefs/
Examples using highlight :
	highlight --latex -l -t 4 -i karplus.dsp -o karplus.dsp.tex
	highlight -l -t 4 -i mixer.dsp -o mixer.dsp.html

5) VIM
'faust.vim' is a syntax file for VIM contributed by Bjrn Lindig
- install the file 'faust.vim' into vim syntax folder ('~/.vim/syntax/')
- add the following lines to the file 'filetype.vim' in the '~/.vim' directory (if its not there, you have to create it):

faust filetype file
    if exists("did_load_filetypes")
      finish
    endif
    augroup filetypedetect
      au! BufRead,BufNewFile *.fst      setfiletype faust
      au! BufRead,BufNewFile *.dsp      setfiletype faust
    augroup END

6) EMACS
An EMACS Faust mode is provided by Juan Gabriel Alzate Romero at https://github.com/rukano/emacs-faust-mode


7) NANO
copy file faust.nanorc into folder /usr/share/nano/

add lines 
	set tabsize 4
	include "/usr/share/nano/faust.nanorc"
to file /etc/nanorc

8) ATOM
Place the directory 'language-faust/' into '~/.atom/packages/'.