This repository was archived by the owner on Mar 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +80
-2
lines changed
Expand file tree Collapse file tree 3 files changed +80
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 0.5.3
2+ * Add snippets for if/then/else, select/when/otherwise, procedure
3+
14## 0.5.2
25* Toggle command improved; click anywhere to hide its modal panel
3- * Fix one message text (??? >> Rexx)
6+ * Fix one message text (??? >> Rexx, in the message text )
47
58## 0.5.0 - First Release
69* Complete z/VM 6.4 Rexx grammar implemented except for the following
Original file line number Diff line number Diff line change 11{
22 "name" : " language-zvm-rexx" ,
33 "main" : " ./lib/language-zvm-rexx" ,
4- "version" : " 0.5.2 " ,
4+ "version" : " 0.5.3 " ,
55 "description" : " Syntax highlighting for z/VM Rexx files, ala the z/VM 6.4 Rexx Reference publication" ,
66 "keywords" : [
77 " language" ,
Original file line number Diff line number Diff line change 1+ ' .source.REXX' :
2+ # For syntax, see
3+ # - readme at https://github.com/atom/snippets
4+ # http://flight-manual.atom.io/using-atom/sections/snippets/
5+ # $0 acts as a final tab stop.
6+
7+ # ////////////////////////////////////////////////////////////////////
8+ # /* Comment
9+ # The comment snippet actually works (tested in 1.19), but it was not
10+ # obvious because there was no prompt. Prompt is there in 1.23.1.
11+ # See the following issues for history:
12+ # https://github.com/atom/autocomplete-snippets/issues/56
13+ # https://github.com/atom/autocomplete-snippets/issues/67
14+ ' Comment' :
15+ ' prefix' : ' /*'
16+ ' body' : ' /* $1 */$0'
17+ # EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
18+ ' Else do/end' :
19+ ' prefix' : ' else'
20+ ' body' : """
21+ else do
22+ \t $1
23+ end
24+ $0
25+ """
26+ # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
27+ ' If do/end' :
28+ ' prefix' : ' if'
29+ ' body' : """
30+ if ${1:condition} do
31+ \t $2
32+ end
33+ $0
34+ """
35+ # OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
36+ ' Otherwise clause' :
37+ ' prefix' : ' otherwise'
38+ ' body' : """
39+ otherwise do
40+ \t $1
41+ end /* Otherwise */
42+ """
43+ # PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
44+ ' Procedure statement' :
45+ ' prefix' : ' procedure'
46+ ' body' : """
47+ ${1:Name} : procedure expose ${2:variable names}
48+ \t $0
49+ end /* ${1:Name} */
50+ """
51+ # SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
52+ ' Select' :
53+ ' prefix' : ' select'
54+ ' body' : """
55+ select
56+ when ${1:condition} do
57+ \t $2
58+ end /* when */
59+ otherwise do
60+ \t
61+ end /* otherwise */
62+ end /* select */
63+ """
64+ # TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
65+ ' /* TODO: ... */' :
66+ ' prefix' : ' todo'
67+ ' body' : ' /* TODO: ${1:text} */$0'
68+ # WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWw
69+ ' When clause' :
70+ ' prefix' : ' when'
71+ ' body' : """
72+ when ${1:condition} do
73+ \t $2
74+ end /* when */
75+ """
You can’t perform that action at this time.
0 commit comments