Skip to content

Commit

Permalink
View history
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando committed May 3, 2022
1 parent 58ef43b commit 95f800c
Show file tree
Hide file tree
Showing 1,808 changed files with 123 additions and 15,040 deletions.
21 changes: 20 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
*.exe
.vs
bin
obj
debug
*.ini
*.pro
*.user
*.vs
*.log
*.ilk
*.pdb
*.map
*.exp
*.dia
*.dia~
*.props
Debug
Docs/Generated
old
output
6 changes: 6 additions & 0 deletions PTMC/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
22 changes: 22 additions & 0 deletions PTMC/EntryPoint.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PTMC
{
public class EntryPoint
{
public static void Main(string[] args)
{
var file = File.ReadAllLines("test.ptml");

foreach (var line in file)
{
}
}
}
}
45 changes: 45 additions & 0 deletions PTMC/PTMC.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{94B091BE-02BA-491C-BB90-C6310C712C06}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>PTMC</RootNamespace>
<AssemblyName>ptmc</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="EntryPoint.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy "$(TargetPath)" "..\..\..\$(TargetFileName)"</PostBuildEvent>
</PropertyGroup>
</Project>
25 changes: 25 additions & 0 deletions PTMC/PTMC.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.32413.511
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PTMC", "PTMC.csproj", "{94B091BE-02BA-491C-BB90-C6310C712C06}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{94B091BE-02BA-491C-BB90-C6310C712C06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94B091BE-02BA-491C-BB90-C6310C712C06}.Debug|Any CPU.Build.0 = Debug|Any CPU
{94B091BE-02BA-491C-BB90-C6310C712C06}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94B091BE-02BA-491C-BB90-C6310C712C06}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7C85907F-F2D0-4D9D-8919-290B10FD5858}
EndGlobalSection
EndGlobal
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set "PATH=%cd%/mingw/bin"
%cd%/mingw/bin/gcc -static-libgcc api.c main.c -o "output/ptm.exe" -lmingw32 -lSDL2main -lSDL2 -mwindows
2 changes: 0 additions & 2 deletions compiler/build.bat

This file was deleted.

Binary file removed compiler/mingw/bin/SDL2.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libatomic-1.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libgcc_s_dw2-1.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libgmp-10.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libgomp-1.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libiconv-2.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libintl-8.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libisl-15.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libmpc-3.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libmpfr-4.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libquadmath-0.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libssp-0.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/libstdc++-6.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/mingwm10.dll
Binary file not shown.
Binary file removed compiler/mingw/bin/zlib1.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 95f800c

Please sign in to comment.