Blender 2.8 Text Editor OSL Script Node Update Disabled
OSL scripts will compile only if you are rendering in Cycles, on the CPU.
When both of those are true, an 'Open Shading Language' checkbox becomes available in the Properties region, Render tab, just under 'Device' (CPU)