[cad-linux-dev] Re: CAD data - YAML text file format

  • From: Bruno Postle <bruno@xxxxxxxxxx>
  • To: CAD linux development <cad-linux-dev@xxxxxxxxxxxxx>
  • Date: Sun, 5 Oct 2003 22:19:29 +0100

On Sun 05-Oct-2003 at 03:14:03PM -0500, Eric Wilhelm wrote:
> 
> > YAML is a data serialisation language, not a markup language like
> > XML, so it is probably better in principle for CAD data and surely
> > expressive enough.
> 
> I like this idea.  How would it support variables?  I don't see anything in 
> the YAML docs about references (e.g., $ref = \$var)

It doesn't do anything interesting, you get something like this:

    0: [ 170, 170, SCALAR(0x80651c8) ]

-- 
Bruno

Other related posts: