home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / misc / 4030 < prev    next >
Encoding:
Text File  |  1992-12-14  |  2.3 KB  |  48 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!infonode!ingr!capalo!quintus!quintus!ludemann
  3. From: ludemann@quintus.com (Peter Ludemann)
  4. Subject: Re: Easy Extension Language Wanted
  5. Message-ID: <1992Dec15.000623.4804@quintus.com>
  6. Sender: news@quintus.com (USENET news account)
  7. Nntp-Posting-Host: ebisu
  8. Organization: Quintus Corporation, Palo Alto, CA
  9. References:  <Byyw3z.2oJ@newsserver.technet.sg>
  10. Date: Tue, 15 Dec 1992 00:06:23 GMT
  11. Lines: 35
  12.  
  13. In article <Byyw3z.2oJ@newsserver.technet.sg>, swispl@solomon.technet.sg (SW International) writes:
  14.  
  15. > I am looking for a language, which I can compile into my application
  16. > to provide the user with the possibility to write his own
  17. > functions etc. It must be able to call my own library-routines,
  18. > and should be quite intuitive or at least easy for beginners.
  19. > (Preferrably: easy for beginners, Powerful for gurus; sounds like
  20. > C :-))
  21.  
  22. No, it doesn't sound like C (which like dynamite and electricity should
  23. be kept out of the hands of beginners); it sounds like REXX :-)
  24.  
  25. Seriously, if you're using an IBM mainframe or OS/2 system, you should
  26. consider REXX, because it's interpreted, well-integrated with the operating
  27. system (the interpreter is already there!), and well-designed for beginners.  
  28.  
  29. If you're not on in an IBM environment, why not pick one of the "AI"
  30. languages such as Lisp, ML, or Prolog.  In the case of Prolog, you can
  31. very easily design your own language (using the "grammar rule" formalism)
  32. or you can just use the native facilities for dynamically creating new
  33. predicates (Lisp and Smalltalk also allow dynamically "compiling" new functions).
  34.  
  35. We recently used Prolog to build a user-extensible system for complex
  36. pattern matching between files (e.g., one file has "First Street" and
  37. the other file has "1st St").  We allow users to write their own patterns,
  38. which are trivially compiled dynamically and executed.  [Yes, Prolog is
  39. plenty fast enough for this application; and our customer has no desire for 
  40. us to spend the next few months re-coding it in yacc/lex/C.]
  41.  
  42. -----
  43.  
  44. Peter Ludemann                 Manager, Large Systems Consulting
  45. Quintus Corporation                     InterNet:       ludemann@quintus.com
  46. 2100 Geng Road                          FAX:            +1-415-494-7608
  47. Palo Alto, California 94303             Phone:          +1-415-813-3819
  48.