Last change
on this file since 49 was 49, checked in by Tatsukawa, Akimichi, 16 years ago |
created adl_parser gem for version 0.0.3
|
File size:
764 bytes
|
Rev | Line | |
---|
[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__))
|
---|
| 9 | require 'logger'
|
---|
| 10 |
|
---|
| 11 | module OpenEHR
|
---|
| 12 |
|
---|
| 13 | if $DEBUG
|
---|
| 14 | LOG = Logger.new('log/adl_parser.log','daily')
|
---|
| 15 | LOG.level = Logger::INFO
|
---|
| 16 | else
|
---|
| 17 | LOG = Logger.new(STDOUT)
|
---|
| 18 | LOG.level = Logger::WARN
|
---|
| 19 | end
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 |
|
---|
| 24 | module ADL
|
---|
| 25 | autoload :Parser, "parser.rb"
|
---|
| 26 | autoload :Validator, "validator.rb"
|
---|
| 27 |
|
---|
| 28 | module Scanner
|
---|
| 29 | module DADL
|
---|
| 30 | autoload :RootScanner, "scanner.rb"
|
---|
| 31 | end
|
---|
| 32 | end
|
---|
| 33 | end
|
---|
| 34 |
|
---|
| 35 | module Application
|
---|
| 36 | autoload :ADLValidator, "shell.rb"
|
---|
| 37 | end # of Application
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | end # of OpenEHR
|
---|
Note:
See
TracBrowser
for help on using the repository browser.