I would like to do the program in Prolog that allows its user to execute any procedure he wants to in that way:
1. The program reads from the keyboard the procedure that the user wants to execute (it's simple).
2. After that the Prolog sholud run that procedure. For example: user writes "some(thing)" and presses Enter. Now my program should execute in Prolog procedure some(thing). The problem is that I have no idea how to do it...
Regards,
Kamil
1. The program reads from the keyboard the procedure that the user wants to execute (it's simple).
2. After that the Prolog sholud run that procedure. For example: user writes "some(thing)" and presses Enter. Now my program should execute in Prolog procedure some(thing). The problem is that I have no idea how to do it...
Regards,
Kamil