by dpcan · 13y ago · 0 comments
Start
Run at 60 frames per second and do
Clear the screen
Draw a rectangle at (10,10) with size (100,50) and rotate it 20 degrees
Repeat
End
Or something along those lines - hopefully you get my point.This would be fun for prototyping. I could just speak to my computer and have it translate my plain english into a working program :)
To transition to monster card gallery:
animate the gallery-transition as a reel animation targeting the transition-container at 8 fps;
wait for main menu input until all animations are complete;
pause for 1000 milliseconds, accepting input;
now the image-ID of the transition-container is the image-ID of the card-container.
The language is Inform 7, and it's using the Glimmr library.
https://github.com/i7/kerkerkruip
http://inform7.com/
http://glimmr.wordpress.com/Unless they are specific to a very narrow domain, they generally don't end up doing that very well, and even the best don't help very much, because you still need to use them more precisely than you'd use a natural language.
The closest thing to an english-like language that is successful is probably SQL.
Of course, it is subjective, and there is plenty of room for disagreement.
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...Not as elegant as Dogescript obviously