home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,690 of 2,753   
   Spiros Bousbouras to Lieven Marchand   
   Re: A simpler way to tokenize and parse?   
   26 Mar 23 14:10:14   
   
   From: spibou@gmail.com   
      
   On Sat, 25 Mar 2023 19:58:58 +0100   
   Lieven Marchand  wrote:   
   > Apart from the already mentioned problem that it forces you into a   
   > syntax that a lot of people don't like, there's also the problem that   
   > you have to deal with hostile input. Where you expect "(+ 2 3)" someone   
   > will enter "(+ 2 3 #.(progn (launch-the-nukes) 4))".   
      
   The ability to read S-expressions does not imply that you must also have   
   a "read and evaluate" facility. In any case , in Common Lisp you can   
   trivially disable it by setting *READ-EVAL* to NIL .   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca