Hi Andre,

I just wanted to let you know that you can play with the language
using "liquidsoap --interactive". It's always a good idea to find
simple ways to experiment/learn instead of trying on a full script.

For example:

$ liquidsoap --interactive
[...]
# if true then if false then 2 else 3 else 4 ;;
Exception: Parsing.Parse_error!
# - : int = 4
# if true then if false then 2 else 3 end else 4 end ;;
- : int = 3
#

These are stupid expressions but it's a start, and it's a way to check
the syntax. By the way, playing with --interactive is a good idea for
myself too: I made a syntax error on purpose at first, but we see that
liquidsoap "recovers" after the error (missing "end" after "else 3")
and parsed and executed 4. I should fix that!

Cheers,
-- 
David

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to