Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: relative expressions

From: tbrownell:L3TECHNOLOGY at: 2-Apr-2003 14:55

I've found that all data and functions have a natural language "definition", much like pseudocode.... Take all the numbers from the group N, multiply each by 3 and print the result. Becomes... TakeAllNumbersOfN-MultiplyBy3AndPrintFunction: Func [N] [Foreach val n [print val * 3] Every sentence has a subject and a predicate. In the sentence above, the subject is N and the predicate is the function. As I mentioned in earlier posts, there should be a "standard English" (any symbols would do as long as we all agree) to represent the predicates, in this case functions, and what I call LFReD names to represent subjects... which is why 'everything needs an LFReD name" This concept can carry into other areas; NLP... (Rebol) (rocks the house). Subject: =RebolPredicate: Excellent Semantic Networks... =Rebol= IsA ProgrammingLanguage =Rebol= hasPart GUI Terry