source: ruby/branches/0.5/lib/adl_parser/lib/adl_parser.rb@ 290

Last change on this file since 290 was 290, checked in by KOBAYASHI, Shinji, 15 years ago

merged latest trunc change to branches/0.5

File size: 886 bytes
RevLine 
[49]1# component: openEHR Ruby ADL parser implementation
2# description:
3# keywords: archetype, ADL, parser
4# author: Akimichi TATSUKAWA, Shinji KOBAYASHI
5# support: openEHR.jp
6# license: openEHR open source license
7
8$:.unshift File.join(File.dirname(__FILE__))
9require 'logger'
[290]10require 'adl_scanner.rb'
11require 'adl_exception.rb'
[49]12
[167]13module OpenEhr
[49]14
15 if $DEBUG
16 LOG = Logger.new('log/adl_parser.log','daily')
17 LOG.level = Logger::INFO
18 else
19 LOG = Logger.new(STDOUT)
20 LOG.level = Logger::WARN
21 end
22
23
24 module ADL
25 autoload :Parser, "parser.rb"
26 autoload :Validator, "validator.rb"
[290]27
[49]28 module Scanner
29 module DADL
[290]30 autoload :RootScanner, "adl_scanner.rb"
[49]31 end
[290]32 module CADL
33 autoload :RootScanner, "adl_scanner.rb"
34 end
[49]35 end
36 end
37
38 module Application
39 autoload :ADLValidator, "shell.rb"
40 end # of Application
41
42
43end # of OpenEHR
Note: See TracBrowser for help on using the repository browser.