Shore Programmer's Manual - 3 November 94


INTRO \- Introduction to the Shore Data Language


The Shore Data Language (SDL) is a language for describing abstract data types for persistent data. SDL is meant to look somewhat like C++, but type definitions in any programming language (language bindings) can be generated from SDL type descriptions (that is the intent; with the alpha release of Shore, you can generate only a C++ language binding.)

Using SDL involves these steps:

Create type descriptions
for your Shore objects. These type descriptions are written in the SDL language, which is described in the Shore Data Language Reference Manual.
Compile the type descriptions
with the SDL compiler ( sdl(sdl) ). An effect of this step is that metatypes (type objects) are created in the Shore database. A metatype is a Shore object that contains a complete description of a type.
Create a C++ language binding
for your types, by running sdlcxx(sdl) .
Write implementations
for the methods in your types.
your method implementations along with the language binding, using a C++ compiler; link them and run your application.

The document Getting Started with Shore walks you through these steps with an example application.


This manual page applies to Version 0.1 of theShore software.


The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518.


Copyright (c) 1994 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.


For information about the SDL compiler, see sdl(sdl) .

For information about the SDL C++ language binding generator and the language binding that it generates, see sdlcxx(sdl) .

Also see Shore Data Language Reference Manual, and Getting Started with Shore