🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4035

WRITING ROBOT CONTROL LANGUAGE - need pointers

#4035
From: Roger Gonzalez
Date: Wed, 22 May 1991 12:54
34 lines
1943 bytes
I'm going to be writing/implementing an interpreted language to control
our underwater robot.  I've taken one course in compilers, and know (more
or less) lex and yacc (enough to have implemented a pascal subset once..
well actually a multifunction calculator that understood pascal but didn't
do anything except math functions.)

The parser will be running under the VxWorks real-time OS, and will be
listening at a TCP socket for commands.

So I'm looking for suggestions.  Some desired features of the language:
variable manipulation
math functions
run commands "in background" ala csh (spin off processes)
send "goto xyzb" commands to controller
set controller parameters
"read" from sensors, "write" to effectors
run "compiled" version of language from file
"install" sensor or effector "device driver" at an address
other things??

I've always had warm fuzzy feelings about postfix languages (forth, postscript)
but have been told that they are bad because they are "write once"; i.e. hard
to modify to change the behavior.  Perhaps a lispish language?  Maybe I should
just grab the csh parser and modify it?

Any advice would be appreciated.


-Roger
-- 
"The question of whether a computer can think is no more interesting
 than the question of whether a submarine can swim" - Edsgar W. Dijkstra 
rg@[msel|unhd].unh.edu        |  UNH Marine Systems Engineering Laboratory
r_gonzalez@unhh.bitnet        |  Durham, NH  03824-3525
Technical Details
Message-ID: <1991May22.125442.1842@unhd.unh.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!news.uu.net!unhd.unh.edu!msel.unh.edu!rg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!news.uu.net!unhd.unh.edu!msel.unh.edu!rg
From: rg@msel.unh.edu (Roger Gonzalez)
Newsgroups: comp.lang.misc
Subject: WRITING ROBOT CONTROL LANGUAGE - need pointers
Message-ID: <1991May22.125442.1842@unhd.unh.edu>
Date: 22 May 91 12:54:42 GMT
Sender: usenet@unhd.unh.edu (USENET News System)
Organization: UNH Marine Systems Engineering Laboratory
Lines: 34
Nntp-Posting-Host: msel.unh.edu