sponsor Vim development Vim logo Vim Book Ad

syntax/algol68.vim : Syntax for Algol68

 script karma  Rating 12/6, Downloaded by 818  Comments, bugs, improvements  Vim wiki

created by
Neville Dempsey
 
script type
syntax
 
description
First version... looking for ideas.

Alternate download location: http://3ttechnology.com/vim/syntax/algol68.vim

Currently does fully handle unicode/htm4 characters, eg ÷ for AND ⊥ for ⊥

Targeted toward the ALGOL-68G version from:
http://www.xs4all.nl/~jmvdveer/algol.html#obtaining
And includes extensions.

Has SOME reserved words/extensions from ALGOL-68R and ALGOL-68C

Currently cannot parse code with BOLDED HTML.

Some pascal syntax remains.
 
install details
copy algol68.vim to /usr/share/vim/vim64/syntax/ directory - ($VIMRUNTIME/syntax directory)

Update the following files:

1. /usr/share/vim/vim64/filetype.vim:
" Algol68 (also *.a68)
au BufNewFile,BufRead *.a68                   setf algol68

2. /usr/share/vim/vim64/synmenu.vim:
an 50.80.135 &Syntax.PQ.Algol68 :cal SetSyn("algol68")<CR>
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
algol68.vim 0.2 2010-09-26 7.0 Neville Dempsey Added missing ''stand in'', ''stand out'' etc. ''proc''edures and support for the unicode decimal exponent symbol '''⏨'''
algol68.vim 0.1 2007-06-18 6.0 Neville Dempsey Initial upload
ip used for rating: 3.231.228.109

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo