Skip to content

Create a script to simplify the language specification #4340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 64 commits into from
May 9, 2025
Merged
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
11407a2
New file
eernstg Apr 9, 2025
ecacf90
Add `simple` goal
eernstg Apr 9, 2025
bff9d6f
Ignoring the new generated file
eernstg Apr 9, 2025
66d4dc7
WIP
eernstg Apr 9, 2025
ab3a8de
WIP
eernstg Apr 9, 2025
2176107
WIP
eernstg Apr 10, 2025
67c53c5
WIP
eernstg Apr 10, 2025
ac1a724
WIP
eernstg Apr 10, 2025
d5bb73a
WIP
eernstg Apr 10, 2025
9078f40
WIP
eernstg Apr 10, 2025
a7d14a2
WIP
eernstg Apr 10, 2025
4976faa
Adjusted unusually formatted commentary
eernstg Apr 10, 2025
49f9705
WIP
eernstg Apr 10, 2025
bbea64a
WIP
eernstg Apr 10, 2025
d4b2778
WIP
eernstg Apr 16, 2025
05b66d7
WIP
eernstg Apr 16, 2025
d3b207d
WIP
eernstg Apr 16, 2025
04be074
WIP
eernstg Apr 16, 2025
16e76a4
WIP
eernstg Apr 16, 2025
83d5667
Normalize the formatting of a commentary paragraph
eernstg Apr 16, 2025
325bf00
Normalize commentaries
eernstg Apr 16, 2025
7f63e80
Normalize the formatting of rationales
eernstg Apr 16, 2025
109a547
WIP
eernstg Apr 16, 2025
782ee8e
Correct an LMHash command
eernstg Apr 22, 2025
a4881e7
WIP
eernstg Apr 22, 2025
e67544a
Format itemized lists (newlines added)
eernstg Apr 22, 2025
b79db65
WIP
eernstg Apr 22, 2025
46ae3ae
WIP
eernstg Apr 22, 2025
a7cec18
WIP
eernstg Apr 23, 2025
7fc2c2c
WIP
eernstg Apr 23, 2025
04a24e0
WIP
eernstg Apr 23, 2025
38cf90f
WIP
eernstg Apr 23, 2025
5185cbd
WIP
eernstg Apr 23, 2025
198158a
WIP
eernstg Apr 23, 2025
d62a00a
WIP
eernstg Apr 23, 2025
7534916
WIP
eernstg Apr 24, 2025
c304c9f
WIP
eernstg Apr 24, 2025
3db58e9
WIP
eernstg Apr 24, 2025
2e41dde
WIP
eernstg Apr 24, 2025
cccaa1d
WIP
eernstg Apr 24, 2025
625ffce
WIP
eernstg Apr 24, 2025
4b6d45b
WIP
eernstg Apr 24, 2025
d64fd15
WIP
eernstg Apr 24, 2025
f5f22c8
Add ability to handle enumerate as well as itemize
eernstg Apr 24, 2025
05c070e
Normalize whitespace around enumerate blocks
eernstg Apr 24, 2025
c65b516
WIP
eernstg Apr 24, 2025
68c3549
Normalize parenthesized commentary
eernstg Apr 24, 2025
e0d6483
Using specification from normalize_spec_whitespace_apr25
eernstg Apr 24, 2025
f1473bb
Typo
eernstg Apr 25, 2025
e0c37e8
Avoid emitting spaces before empty gathered lines
eernstg Apr 25, 2025
69456eb
WIP
eernstg Apr 25, 2025
0c8aa31
Add missing \noindent
eernstg Apr 25, 2025
b48a5d0
WIP
eernstg Apr 25, 2025
37e8a0e
WIP
eernstg Apr 25, 2025
55bef10
WIP
eernstg Apr 25, 2025
1e57bb1
WIP
eernstg Apr 25, 2025
ca15e1d
WIP
eernstg Apr 25, 2025
3b643dd
Change the goal to "make terse"
eernstg Apr 27, 2025
414d9a0
WIP
eernstg Apr 28, 2025
ace9242
WIP
eernstg Apr 28, 2025
62b157a
Use newer version of Dart
eernstg Apr 28, 2025
d9c3def
WIP
eernstg Apr 28, 2025
f32b869
Reorder Makefile goals
eernstg Apr 28, 2025
21c1c55
Git-ignore *-terse files
eernstg Apr 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reorder Makefile goals
  • Loading branch information
eernstg committed Apr 28, 2025
commit f32b86991dd99e0164a2f9fdbf1ed46ee6b8fd45
17 changes: 13 additions & 4 deletions specification/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ NAME=dartLangSpec
SPEC=$(NAME).tex
HASH=$(NAME)-hash.tex
LIST=$(NAME)-list.txt
TERSE_SPEC=$(NAME)-terse.tex
TERSE_IDX=$(NAME)-terse.idx
HASHER=scripts/addlatexhash.dart

pdf:
Expand Down Expand Up @@ -39,6 +41,17 @@ dvihash: hash_and_list
hash_and_list:
dart $(HASHER) $(SPEC) $(HASH) $(LIST)

terse:
dart scripts/simplify_specification.dart

tersepdf:
pdflatex $(TERSE_SPEC)
makeindex $(TERSE_IDX)
pdflatex $(TERSE_SPEC)
makeindex $(TERSE_IDX)
pdflatex $(TERSE_SPEC)
pdflatex $(TERSE_SPEC)

help:
@echo "Goals:"
@echo " pdf, dvi: generate the pdf/dvi file containing the spec"
Expand All @@ -51,7 +64,3 @@ cleanish:

clean: cleanish
rm -f *.dvi *.pdf $(HASH) $(LIST)

terse:
dart scripts/simplify_specification.dart