Script is a low-level language and acts as assembly for the Bitcoin Virtual Machine. Usually, developers do not have to deal with it directly and can use high-level languages like sCrypt. However, there are cases where using Script is desirable. For example, customized script is optimized and thus more efficient than Script generated by sCrypt. Or Script is generated using external tools like MiniForth and needs to be integrated into sCrypt.
We are exciting to introduce inline assembly feature in sCrypt IDE 0.4.0. Users can now directly embed Script into sCrypt source code using assembly representation. An sCrypt function can be written in Script and called like a regular sCrypt function.