linux - how can i set a terminal in context-free grammar with a value by using Perl language -


i have file scirules.in when defined nonterminal symbol manually , example in file have :

... sci_person  chemist  sci_person  physicist  sci_person  information theorist  sci_a_fact  work of sci_country sci_person sci_source  ... 

my objectif use database postgresql stock different terminal (chemist,physicist,information theorist) , change file scirules.in using perl language set sci_person random value database , generate latex file. problem how can integrate perl code in file scirules.in .


Comments

Popular posts from this blog

ruby - re-try logic in a simple loop -

ruby - Accessing variable name -

c# - Error in creating twitterizer app in asp.net -