Skip to content

Commit 0e52e7f

Browse files
committed
feat: edits to pages
1 parent 731820c commit 0e52e7f

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

content/about/_index.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Pascal was born from a simple yet profound philosophy: **programming should be c
1212

1313
Wirth believed that a programming language should provide a clear conceptual framework for thinking about programming. Pascal provides exactly that—a clean, logical framework that mirrors how we naturally think about solving problems.
1414

15+
---
16+
1517
## Pascal's Enduring Principles
1618

1719
### Readability Above All
@@ -43,6 +45,8 @@ Pascal teaches fundamental programming concepts without the complexity that can
4345
### Reliability Through Structure
4446
Pascal's strong typing system and structured programming approach prevent entire classes of errors before they occur. The compiler catches mistakes early, leading to more robust software.
4547

48+
---
49+
4650
## Pascal's Evolution and Growth
4751

4852
Since its creation in 1970, Pascal has evolved far beyond its educational origins. Modern Pascal implementations power everything from desktop applications to web services, mobile apps to embedded systems.
@@ -51,6 +55,8 @@ The language gained massive popularity in the 1980s and 1990s with Turbo Pascal
5155

5256
Today, Pascal continues to thrive with active development communities, modern language features, and cross-platform capabilities that rival any contemporary programming language.
5357

58+
---
59+
5460
## Object Pascal: The Modern Evolution
5561

5662
Object Pascal extends Pascal's clarity into the world of object-oriented programming. It maintains Pascal's readable syntax while adding powerful features like classes, inheritance, interfaces, and generics.
@@ -62,6 +68,8 @@ Modern Object Pascal supports:
6268
- **Rich ecosystems** - Comprehensive libraries and frameworks
6369
- **Visual development** - Integrated designers and RAD tools (Lazarus IDE, Delphi PascalABC.Net)
6470

71+
---
72+
6573
## Major Implementations of Pascal
6674

6775
Pascal, as a language family, has numerous implementations beyond the mainstream options. Each brings unique strengths and targets specific development scenarios:
@@ -132,6 +140,7 @@ Pascal, as a language family, has numerous implementations beyond the mainstream
132140
- Optimized code generation for resource-constrained environments
133141
- Pascal syntax for embedded systems programming
134142

143+
---
135144

136145
## Why Pascal Matters Today
137146

@@ -145,12 +154,14 @@ In an era of complex frameworks and rapidly changing technologies, Pascal's core
145154

146155
**Cross-Platform Reality**: Today's Pascal tools enable true cross-platform development with native performance.
147156

157+
---
158+
148159
## Get Started with Pascal
149160

150161
Ready to experience Pascal's unique combination of clarity and power?
151162

152-
- **[Learn Pascal](/learn/)** - Start with our comprehensive tutorials
153-
- **[Documentation](/docs/)** - Explore Pascal's features and capabilities
163+
- **[Learn Pascal](/learn/)** - Start with our brief tutorials
164+
- **[Resources](/resources/)** - Explore Pascal's features and capabilities
154165
- **[Community](/community/)** - Connect with Pascal developers worldwide
155166

156167
Pascal isn't just a programming language—it's a philosophy of clear thinking, structured problem-solving, and elegant code. Whether you're learning your first programming concepts or building professional applications, Pascal provides the clarity and power you need to succeed.

content/learn/_index.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ draft = false
55
layout = 'single-with-sidebar'
66
+++
77

8-
# Get Started in Quickly using Free Pascal!
8+
**Get Started in Quickly using Free Pascal!**
99

10-
Welcome to Pascal! This guide will get you writing your first Pascal programs quickly using Free Pascal. Pascal is perfect for learning programming because it's clear, structured, and teaches good habits.
10+
Welcome to Pascal! This guide will get you writing your first Pascal programs quickly using Free Pascal.
1111

1212
---
1313

@@ -17,9 +17,9 @@ Welcome to Pascal! This guide will get you writing your first Pascal programs qu
1717

1818
Start coding immediately with these online compilers:
1919

20-
- **[FPC Playground](https://fpc-playground-app-mgeib.ondigitalocean.app/)** - Best for learning
2120
- **[OneCompiler](https://onecompiler.com/pascal)** - Simple and fast
2221
- **[OnlineGDB](https://www.onlinegdb.com/online_pascal_compiler)** - Has debugging features
22+
- **[FPC Playground](https://fpc-playground-app-mgeib.ondigitalocean.app/)** - Best for simple codes
2323

2424
### Option 2: Install on Your Computer
2525

@@ -43,7 +43,6 @@ program HelloWorld;
4343
4444
begin
4545
writeln('Hello, Pascal!');
46-
writeln('Welcome to programming!');
4746
readln; // Wait for Enter key
4847
end.
4948
```
@@ -91,8 +90,8 @@ end.
9190

9291
- `{$mode objfpc}{$H+}{$J-}` enable modern Object Pascal features in Free Pascal
9392
- [`{$mode objfpc}`](https://wiki.freepascal.org/Mode_ObjFPC) - Enable exceptions, classes, interfaces, overloading, etc
94-
- `{$H+}` - Enable long string
95-
- `{$J-}` - Disable writing to constants
93+
- [`{$H+}`](https://wiki.freepascal.org/$H) - Enable long string
94+
- [`{$J-}`](https://www.freepascal.org/docs-html/current/prog/progsu42.html) - Disable writing to constants
9695
- Declare variables with `var`
9796
- Assign values with `:=` (not `=`)
9897
- Always end statements with `;`
@@ -201,7 +200,6 @@ begin
201200
else writeln('Error: Unknown operation!');
202201
end;
203202
204-
readln;
205203
end.
206204
```
207205

@@ -235,7 +233,6 @@ begin
235233
236234
until guess = secretNumber;
237235
238-
readln;
239236
end.
240237
```
241238

@@ -268,7 +265,6 @@ begin
268265
else
269266
writeln('Result is small');
270267
271-
readln;
272268
end.
273269
```
274270

@@ -314,7 +310,7 @@ type
314310
var
315311
student: TPerson;
316312
begin
317-
// Assign values
313+
// Set values
318314
student.name := 'Alice';
319315
student.age := 20;
320316
student.email := 'alice@example.com';
@@ -450,6 +446,9 @@ program AdvancedRecordsDemo;
450446
{$mode objfpc}{$H+}{$J-}
451447
{$modeswitch advancedrecords}
452448
449+
uses
450+
SysUtils;
451+
453452
type
454453
TPoint = record
455454
X, Y: real;

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>Pascal</h1>
99
<p class="hero-ecosystem">With Free Pascal Compiler (FPC), Delphi, PascalABC.Net, and more.</p>
1010
<div class="hero-actions">
1111
<a href="{{ "/learn/" | relURL }}" class="hero-cta primary">Get Started</a>
12-
<a href="{{ "/docs/" | relURL }}" class="hero-cta secondary">Documentation</a>
12+
<a href="{{ "/resources/" | relURL }}" class="hero-cta secondary">Resources</a>
1313
</div>
1414
<!-- <p class="version-info">Latest: Free Pascal 3.2.2 • Lazarus 4.2</p> -->
1515
</div>

0 commit comments

Comments
 (0)