From 58dc88f023733caa7cee637dae441c13039dd9b7 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 4 Mar 2024 13:14:43 +0900 Subject: [PATCH 1/4] create: sample project --- Alice-Console.sln | 6 ++++++ Sample/Program.cs | 2 ++ Sample/Sample.csproj | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 Sample/Program.cs create mode 100644 Sample/Sample.csproj diff --git a/Alice-Console.sln b/Alice-Console.sln index e4e7be7..7f5446f 100644 --- a/Alice-Console.sln +++ b/Alice-Console.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnovReader", "AnovReader\AnovReader.csproj", "{B0401C3C-0DD7-4064-9134-CBB7F68AE63F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample", "Sample\Sample.csproj", "{BCFC05BD-904F-4C84-B160-D88DF9E62401}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -18,5 +20,9 @@ Global {B0401C3C-0DD7-4064-9134-CBB7F68AE63F}.Debug|Any CPU.Build.0 = Debug|Any CPU {B0401C3C-0DD7-4064-9134-CBB7F68AE63F}.Release|Any CPU.ActiveCfg = Release|Any CPU {B0401C3C-0DD7-4064-9134-CBB7F68AE63F}.Release|Any CPU.Build.0 = Release|Any CPU + {BCFC05BD-904F-4C84-B160-D88DF9E62401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BCFC05BD-904F-4C84-B160-D88DF9E62401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BCFC05BD-904F-4C84-B160-D88DF9E62401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BCFC05BD-904F-4C84-B160-D88DF9E62401}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/Sample/Program.cs b/Sample/Program.cs new file mode 100644 index 0000000..83fa4f4 --- /dev/null +++ b/Sample/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/Sample/Sample.csproj b/Sample/Sample.csproj new file mode 100644 index 0000000..206b89a --- /dev/null +++ b/Sample/Sample.csproj @@ -0,0 +1,10 @@ + + + + Exe + net8.0 + enable + enable + + + From 357109a0ff23939156a467d270a440f0b3c5cf55 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 4 Mar 2024 13:22:20 +0900 Subject: [PATCH 2/4] fix: anov reader --- AnovReader/Anov.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnovReader/Anov.cs b/AnovReader/Anov.cs index 7e18362..3e87a7c 100644 --- a/AnovReader/Anov.cs +++ b/AnovReader/Anov.cs @@ -4,7 +4,7 @@ namespace AnovReader; public class Anov { - static void Read(string str) + public static void Read(string str) { Match match; // "- "から始まる"人物"を読み込み From 5ac1953b85a3cbe1fe52a92955b08d3b69c322f0 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 4 Mar 2024 13:22:41 +0900 Subject: [PATCH 3/4] add: reference --- Sample/Sample.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sample/Sample.csproj b/Sample/Sample.csproj index 206b89a..68b27c0 100644 --- a/Sample/Sample.csproj +++ b/Sample/Sample.csproj @@ -7,4 +7,8 @@ enable + + + + From d6bdb39863092f9a67de9407bb1e4337945b56d1 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 4 Mar 2024 13:22:55 +0900 Subject: [PATCH 4/4] add: sample code --- Sample/Program.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Sample/Program.cs b/Sample/Program.cs index 83fa4f4..7f6cba9 100644 --- a/Sample/Program.cs +++ b/Sample/Program.cs @@ -1,2 +1,8 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); +using AnovReader; + +// input test that is written in Anov Syntax. +string input_1 = "- a girl"; +string input_2 = "[Hello, World!]"; + +Anov.Read(input_1); +Anov.Read(input_2);