-- -- Author: Robert C. Shock, Dept of CS & CEG Wright State University -- In cooperation with: WRDC/ELED WPAFB Dayton, OH -- -- -- Purpose -- Letter style defines the case of a letter. The letter style of a lexical element ( say word Vhdl_leXicoN ) are lower_case ( vhdl_lexicon ), upper_case ( VHDL_LEXICON ), mix_case (Vhdl_Lexicon ) and unchanged_case ( Vhdl_leXicoN ). -- -- The procedure vhdl_letter_set_style allows one to change the letter style of a lexical element without recompiling code. The input stream requires the letter_style specification first followed by the source code. The approach allows the operating system language commands to arrange a variety of ways to format source code. -- Assumptions and process overview -- Input: device = text_io.standard_input; -- data = letter specification + vhdl (syntax) source code -- * the exact format of the letter specification is defined by 'is_initializing' of package 'vhdl_lexicon_letter_style' -- -- Output: device = text_io.standard_output -- data = text format with specifications defined in the input stream -- Suggested use -- Change the letter_style without recompiling source code. This can be done by using the shell script: vletter_set_style -- -- with text_io; with vhdl_lexicon_letter_style; procedure vhdl_letter_set_style is begin vhdl_lexicon_letter_style.iterate_code ( with_the_specification => vhdl_lexicon_letter_style.is_initializing ( text_io.standard_input ) ); end vhdl_letter_set_style;