snobol

Generating strings and executing them as programs during runtime

谁说胖子不能爱 提交于 2019-12-06 12:31:24
问题 This is a tough question to word and I'm not sure what the proper term for it would be (if any). I'm curious what languages allow you to "build up" a string during program execution, and then execute it as part of the program. The only language that I know of that allows you to do this is Snobol. Reading the wikipedia entry for Tcl however, it sounds like it may be able to do this also? I always thought this was a nifty feature even if it may not be used much. Thanks. PS: Would tag this with