Resin printers that use DLP projectors do run on GRBL and take GCode, but it’s not like how other printers work. The only GCode involved is for the Z axis position. The X and Y dimensions of the object being printed are video that gets sent via HDMI to a projector.
Basically, the slicers for DLP based resin printing turn each layer into a B&W image. A print uses GCode to position the Z height for that layer, the software flashes the video image to expose that layer, then GCode moves the Z to the next position, flashes the next slice’s image, moves the Z, exposes another layer, so on and so forth… They’re not using GCode to position a tool-head in the X/Y plane like the hot-end of an FDM machine.
This isn’t exactly how my machine moves, but it’ll give you an idea.