Skip to content

Commit 3857a59

Browse files
Rename ASM-Lang to Prefix.
1 parent 8200236 commit 3857a59

31 files changed

+873
-926
lines changed

.github/workflows/run-tests.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Installation
2-
<code>Invoke-WebRequest -Uri "https://github.com/python-processing-unit/ASM-Lang/archive/refs/heads/main.zip" -OutFile "path\to\download\ASM-Lang.zip"<br>
3-
Expand-Archive -Path "path\to\download\ASM-Lang.zip" -DestinationPath "path\to\extract\ASM-Lang"<br>
2+
<code>Invoke-WebRequest -Uri "https://github.com/python-processing-unit/Prefix/archive/refs/heads/main.zip" -OutFile "path\to\download\Prefix.zip"<br>
3+
Expand-Archive -Path "path\to\download\Prefix.zip" -DestinationPath "path\to\extract\Prefix"<br>
44
$old = [Environment]::GetEnvironmentVariable('Path','User')<br>
5-
if(-not $old.Split(';') -contains 'path\to\extract\ASM-Lang'){ [Environment]::SetEnvironmentVariable('Path',$old + ';path\to\extract\ASM-Lang','User') }<br>
6-
Remove-Item -Path "path\to\download\ASM-Lang.zip"</code>
5+
if(-not $old.Split(';') -contains 'path\to\extract\Prefix'){ [Environment]::SetEnvironmentVariable('Path',$old + ';path\to\extract\Prefix','User') }<br>
6+
Remove-Item -Path "path\to\download\Prefix.zip"</code>

build.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ pyinstaller --onefile --icon `
99
--add-data "$ROOTDIR\parser.py;." `
1010
--add-data "$ROOTDIR\interpreter.py;." `
1111
--add-data "$ROOTDIR\extensions.py;." `
12-
"$ROOTDIR\asm-lang.py"
12+
"$ROOTDIR\prefix.py"
1313
Write-Host "Build complete."
1414
Write-Host "Cleaning up build artifacts..."
15-
if (Test-Path "$ROOTDIR\asm-lang.exe") {
16-
Remove-Item "$ROOTDIR\asm-lang.exe"
15+
if (Test-Path "$ROOTDIR\prefix.exe") {
16+
Remove-Item "$ROOTDIR\prefix.exe"
1717
}
1818
Remove-Item "$ROOTDIR\build" -Recurse -Force
19-
Move-Item "$ROOTDIR\dist\asm-lang.exe" "$ROOTDIR\"
19+
Move-Item "$ROOTDIR\dist\prefix.exe" "$ROOTDIR\"
2020
Remove-Item "$ROOTDIR\dist" -Recurse -Force
21-
Remove-Item "$ROOTDIR\asm-lang.spec"
22-
Write-Host "Cleanup complete. Executable is located at $ROOTDIR\asm-lang.exe"
21+
Remove-Item "$ROOTDIR\prefix.spec"
22+
Write-Host "Cleanup complete. Executable is located at $ROOTDIR\prefix.exe"

docs/CONTRIBUTING.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
6-
<title>ASM-Lang Contribution Guide</title>
6+
<title>Prefix Contribution Guide</title>
77
<link rel="icon" href="./icon.png" />
88
<style>
99
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@@ -19,7 +19,7 @@
1919

2020
<!-- Markdown source is embedded below. marked.js will render it into #content. -->
2121
<script id="md" type="text/markdown">
22-
# Contributing to ASM-Lang
22+
# Contributing to Prefix
2323

2424
We welcome bug reports, feature requests (within reason), documentation improvements, tests, and code patches. This document explains how to contribute and the licensing terms that apply to contributions.
2525

@@ -53,7 +53,7 @@
5353

5454
3. Make a Change
5555
- Fork the repository (or create a branch in a branch-per-feature workflow if you have push rights).
56-
- Create a branch named meaningfully, e.g., `fix/typo-xyz`, `feat/asm-parser`, or `test/add-instruction-tests`.
56+
- Create a branch named meaningfully, e.g., `fix/typo-xyz`, `feat/prefix-parser`, or `test/add-instruction-tests`.
5757
- Implement your change. Keep commits focused and atomic.
5858

5959
4. Tests and Quality
@@ -81,7 +81,7 @@
8181
## Code style
8282

8383
- For Python code, follow PEP 8 (https://peps.python.org/pep-0008/)
84-
- For ASM-Lang code, NO USING TABS FOR INDENTS!
84+
- For Prefix code, NO USING TABS FOR INDENTS!
8585

8686
## Security
8787

0 commit comments

Comments
 (0)