Using FEN notation, I would like to have the engine make analysis based on a starting position indicated by the FEN notation. Can anyone direct me on how to do this?
You need to make a FEN parser. If you want to do it on your own, then one of the ways is to make a grammar and create parser based on that grammar. I have found one BNF grammar
here, which you can adapt and use. Here is our
wiki page if you want to go that path. If you don't then your best bet is to adapt other people's parser. I have found only one for Lazarus
here in Chess256 application. You can find many more FEN parsers for other programming languages on the net.