Index: /branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj
===================================================================
--- /branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj	(revision 810)
+++ /branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj	(revision 811)
@@ -161,4 +161,7 @@
       <UseLibraryDependencyInputs>true</UseLibraryDependencyInputs>
     </ProjectReference>
+    <ProjectReference Include="..\compiler-impl\compiler-impl.vcxproj">
+      <Project>{0bd5002d-76eb-4bc4-9fbb-ca74d956b1fe}</Project>
+    </ProjectReference>
   </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Index: /branches/egtra/ab5.0/abdev/ab.sln
===================================================================
--- /branches/egtra/ab5.0/abdev/ab.sln	(revision 810)
+++ /branches/egtra/ab5.0/abdev/ab.sln	(revision 811)
@@ -6,6 +6,6 @@
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "abdev", "abdev\abdev.vcxproj", "{DC1B787E-510F-4F7D-8F9A-182600904D83}"
 	ProjectSection(ProjectDependencies) = postProject
-		{D99D1033-486B-FBD7-BB5D-0A5527282864} = {D99D1033-486B-FBD7-BB5D-0A5527282864}
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF} = {75D495CD-8AB8-8B2D-A938-2A076F4310FF}
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9} = {D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080} = {634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}
 	EndProjectSection
 EndProject
@@ -18,7 +18,9 @@
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "abdev-impl", "abdev-impl\abdev-impl.vcxproj", "{58FF88A2-86BC-4480-95F4-71AF693FEF28}"
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "icon_res", "icon_res\icon_res.vcxproj", "{75D495CD-8AB8-8B2D-A938-2A076F4310FF}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "icon_res", "icon_res\icon_res.vcxproj", "{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}"
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "res", "res\res.vcxproj", "{D99D1033-486B-FBD7-BB5D-0A5527282864}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "res", "res\res.vcxproj", "{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "compiler-impl", "compiler-impl\compiler-impl.vcxproj", "{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}"
 EndProject
 Global
@@ -76,16 +78,24 @@
 		{58FF88A2-86BC-4480-95F4-71AF693FEF28}.Release|x64.ActiveCfg = Release|x64
 		{58FF88A2-86BC-4480-95F4-71AF693FEF28}.Release|x64.Build.0 = Release|x64
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Debug|Win32.ActiveCfg = AB_Release|Win32
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Debug|Win32.Build.0 = AB_Release|Win32
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Debug|x64.ActiveCfg = AB_Release|Win32
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Release|Win32.ActiveCfg = AB_Release|Win32
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Release|Win32.Build.0 = AB_Release|Win32
-		{75D495CD-8AB8-8B2D-A938-2A076F4310FF}.Release|x64.ActiveCfg = AB_Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Debug|Win32.ActiveCfg = Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Debug|Win32.Build.0 = Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Debug|x64.ActiveCfg = Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Release|Win32.ActiveCfg = Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Release|Win32.Build.0 = Release|Win32
-		{D99D1033-486B-FBD7-BB5D-0A5527282864}.Release|x64.ActiveCfg = Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Debug|Win32.ActiveCfg = AB_Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Debug|Win32.Build.0 = AB_Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Debug|x64.ActiveCfg = AB_Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Release|Win32.ActiveCfg = AB_Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Release|Win32.Build.0 = AB_Release|Win32
+		{634BD4DB-1BB9-5CF1-C1AE-2CFB4209C080}.Release|x64.ActiveCfg = AB_Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Debug|Win32.ActiveCfg = Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Debug|Win32.Build.0 = Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Debug|x64.ActiveCfg = Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Release|Win32.ActiveCfg = Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Release|Win32.Build.0 = Release|Win32
+		{D4E28FAB-FF4C-AA37-608F-28BC70C05ED9}.Release|x64.ActiveCfg = Release|Win32
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Debug|Win32.ActiveCfg = Debug|Win32
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Debug|Win32.Build.0 = Debug|Win32
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Debug|x64.ActiveCfg = Debug|x64
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Debug|x64.Build.0 = Debug|x64
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Release|Win32.ActiveCfg = Release|Win32
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Release|Win32.Build.0 = Release|Win32
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Release|x64.ActiveCfg = Release|x64
+		{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}.Release|x64.Build.0 = Release|x64
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
Index: /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj
===================================================================
--- /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj	(revision 811)
+++ /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj	(revision 811)
@@ -0,0 +1,127 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{0BD5002D-76EB-4BC4-9FBB-CA74D956B1FE}</ProjectGuid>
+    <RootNamespace>compilerimpl</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>StaticLibrary</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+    <Import Project="..\ab-common.props" />
+    <Import Project="..\ab-common-32.props" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+    <Import Project="..\ab-common.props" />
+    <Import Project="..\ab-common-64.props" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+    <Import Project="..\ab-common.props" />
+    <Import Project="..\ab-common-32.props" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+    <Import Project="..\ab-common.props" />
+    <Import Project="..\ab-common-64.props" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup />
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClInclude Include="stdafx.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="stdafx.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
+    </ClCompile>
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
Index: /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj.filters
===================================================================
--- /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj.filters	(revision 811)
+++ /branches/egtra/ab5.0/abdev/compiler-impl/compiler-impl.vcxproj.filters	(revision 811)
@@ -0,0 +1,27 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="ソース ファイル">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="ヘッダー ファイル">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="リソース ファイル">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="stdafx.h">
+      <Filter>ヘッダー ファイル</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="stdafx.cpp">
+      <Filter>ソース ファイル</Filter>
+    </ClCompile>
+  </ItemGroup>
+</Project>
Index: /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.cpp
===================================================================
--- /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.cpp	(revision 811)
+++ /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.cpp	(revision 811)
@@ -0,0 +1,1 @@
+#include "stdafx.h"
Index: /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.h
===================================================================
--- /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.h	(revision 811)
+++ /branches/egtra/ab5.0/abdev/compiler-impl/stdafx.h	(revision 811)
@@ -0,0 +1,4 @@
+#pragma once
+
+#include <windows.h>
+#include <tchar.h>
Index: /branches/egtra/ab5.0/abdev/compiler.vcxproj
===================================================================
--- /branches/egtra/ab5.0/abdev/compiler.vcxproj	(revision 810)
+++ /branches/egtra/ab5.0/abdev/compiler.vcxproj	(revision 811)
@@ -100,8 +100,6 @@
       <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_DEBUG;_CONSOLE;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <MinimalRebuild>false</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
-      <PrecompiledHeader>Use</PrecompiledHeader>
       <WarningLevel>Level3</WarningLevel>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
@@ -114,5 +112,4 @@
       <AdditionalDependencies>unicows.lib;comctl32.lib;psapi.lib;imagehlp.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <AdditionalLibraryDirectories>..\jenga\lib\x86;lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
       <StackReserveSize>4194304</StackReserveSize>
@@ -142,8 +139,6 @@
       <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_DEBUG;_CONSOLE;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
-      <MinimalRebuild>false</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
-      <PrecompiledHeader>Use</PrecompiledHeader>
       <AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
       <WarningLevel>Level3</WarningLevel>
@@ -157,5 +152,4 @@
       <AdditionalDependencies>comctl32.lib;psapi.lib;imagehlp.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <AdditionalLibraryDirectories>..\jenga\lib\amd64;lib\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
       <SubSystem>Console</SubSystem>
       <StackReserveSize>4194304</StackReserveSize>
@@ -184,5 +178,4 @@
       <PreprocessorDefinitions>NDEBUG;_CONSOLE;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
-      <PrecompiledHeader>Use</PrecompiledHeader>
       <WarningLevel>Level3</WarningLevel>
     </ClCompile>
@@ -194,6 +187,4 @@
       <AdditionalDependencies>unicows.lib;comctl32.lib;psapi.lib;imagehlp.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <AdditionalLibraryDirectories>..\jenga\lib\x86;lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <GenerateMapFile>true</GenerateMapFile>
       <SubSystem>Console</SubSystem>
       <OptimizeReferences>true</OptimizeReferences>
@@ -227,5 +218,4 @@
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>Use</PrecompiledHeader>
-      <AssemblerListingLocation>.\Release/</AssemblerListingLocation>
       <WarningLevel>Level3</WarningLevel>
     </ClCompile>
@@ -238,6 +228,4 @@
       <AdditionalDependencies>comctl32.lib;psapi.lib;imagehlp.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <AdditionalLibraryDirectories>..\jenga\lib\amd64;lib\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
-      <GenerateMapFile>true</GenerateMapFile>
       <SubSystem>Console</SubSystem>
       <OptimizeReferences>true</OptimizeReferences>
@@ -909,4 +897,7 @@
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="compiler-impl\compiler-impl.vcxproj">
+      <Project>{0bd5002d-76eb-4bc4-9fbb-ca74d956b1fe}</Project>
+    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
