Importing location markers

A WAV file can have embedded cues/markers. Ardour has a similar feature: location markers. Since Ardour WAV import does not handle these cue/markers I consider writing a lua script. Unfortunately I do have a clue how to get started.

Can anyone point me in a useful direction?

I don’t think you can do this with Lua scripting.