You can see these in dialects or domain specific languages (DSL).
For eg. a cron scheduler Rebol dialect:
at 18:30 do %batch.r
at 10-Sep-2009/02:00 do %batch.r
every minute do %job.r
every month on #15 not [sat sun] do %job.r
ref: http://softinnov.org/rebol/scheduler.shtmlAnd here's an example of an Excel Rebol dialect:
Excel compose [
start
show
open file (test-file)
;alerts on
alerts off
;remove worksheet
;close workbook
;goto workbook 1
;go to worksheet #2
;quit
add a new worksheet
;goto cell "B3"
;select rows "1:3"
select "B4"
set value to x
goto cell "B6"
change to "Testing"
select "B7"
set to "=B4 * B5"
select "A5:A9"
change to "=$B$5 * PI()"
set cell 10 2 to 222.22
set 11 2 to 333.33
set cells "C2:C6" to 123
set "D3:E4" "Yeah!"
change "A1" "=B10"
copy "A1:A9" to "B21"
cut "B21:B29" to "A18"
select "A5:A9"
copy
goto cell "C15"
paste
goto cell "D15"
paste values
goto cell "E15"
paste no borders
go to worksheet "Sheet4"
autofilter "A5" on
open file (test-file-2)
copy workbook "pbtest.xls" "A1:C5"
to workbook "test-b.xls" "B2"
goto workbook "test-b.xls"
goto cell "F1"
cur-cell: current column
repeat i 3 [
repeat j 4 [
goto cell j (cur-cell + i - 1)
set to (i * j)
]
]
]
ref: http://lambda-the-ultimate.org/node/1240 | http://www.robertmuench.ch/development/projects/excel/dialec...