<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def from_coffeescript(cls, code, args={}):
        ''' Create a CustomJSHover instance from a CoffeeScript snippet. The
        function bodies are translated to JavaScript functions using node and
        therefore require return statements.

        The ``code`` snippet namespace will contain the variable ``value`` (the
        untransformed value) at render time as well as ``special_vars`` and
        ``format`` as described in the class description.

        Example:

        .. code-block:: coffeescript

            formatter = CustomJSHover.from_coffeescript("return value + " total")

        Args:
            code (str) :
                A coffeescript snippet to transform a single ``value`` value

        Returns:
            CustomJSHover

        '''
        compiled = nodejs_compile(code, lang="coffeescript", file="???")
        if "error" in compiled:
            raise CompilationError(compiled.error)

        return cls(code=compiled.code, args=args)