Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
343 commits
Select commit Hold shift + click to select a range
7d145b9
Removed auto-formatting
B-rando1 Oct 13, 2025
31a8c4f
Removed link to deleted wiki page
B-rando1 Oct 13, 2025
bd610b7
Replaced `-`'s with `*`'s
B-rando1 Oct 14, 2025
2378b28
Removed other random bit of auto-formatting
B-rando1 Oct 14, 2025
b3dc19d
Fix CI type checker errors by removing position DataDefs
sarrasoussia Oct 20, 2025
01f4425
stabilized
sarrasoussia Oct 20, 2025
63f30a1
website stabilized
sarrasoussia Oct 20, 2025
c08b087
Merge pull request #4408 from JacquesCarette/fix-gool-overview-link
JacquesCarette Oct 20, 2025
8ae1079
Removed `.md` from GOOL/GProc wiki link
B-rando1 Oct 20, 2025
010ca61
Merge pull request #4410 from JacquesCarette/fix-gool-link-2
JacquesCarette Oct 20, 2025
43c1944
defined magnitude
sarrasoussia Oct 20, 2025
293b1bc
uncomment position vectors to show in datadefs section of the SRS
sarrasoussia Oct 20, 2025
7d27100
stable
sarrasoussia Oct 20, 2025
3e548b1
used for scalars multiplication
sarrasoussia Oct 21, 2025
820d4f3
switched from SimpleQDef to ModelQDef for the position vector datadef
sarrasoussia Oct 21, 2025
f59d8a2
stable
sarrasoussia Oct 21, 2025
7b57eb9
optimized the code for creating vectors
sarrasoussia Oct 21, 2025
ec6d6d0
Updated Stack install guide link
B-rando1 Oct 22, 2025
644804b
Removed redundant LaTeX guide link
B-rando1 Oct 22, 2025
52527b5
Made the Inkscape links point to latest stable
B-rando1 Oct 22, 2025
b6c2eb0
Workspace Setup: Removed Graphviz extension link
B-rando1 Oct 23, 2025
ad341cf
stabilize projectile SRS artifacts
balacij Oct 24, 2025
7120356
Merge pull request #4416 from JacquesCarette/workspace-setup-links
JacquesCarette Oct 24, 2025
9ecd36d
Move drasil-code's related to searching for an ICO solution scheme to…
balacij Oct 24, 2025
7e3ccde
Remove unused ConfigParser in drasil-code.
balacij Oct 24, 2025
d1094f5
Merge pull request #4418 from JacquesCarette/mvICOSolSrch
JacquesCarette Oct 24, 2025
40dcc7b
Merge branch 'main' of github.com:JacquesCarette/Drasil into rmUnused…
balacij Oct 25, 2025
aa98628
Remove Projectile's output message IM
balacij Oct 25, 2025
edcf32f
Created wiki page for cold issues
B-rando1 Oct 25, 2025
68082a9
Wiki homepage: replaced cold issues text with link
B-rando1 Oct 25, 2025
51f3a56
`piSys`: Work with `ChunkDB`s directly rather than through a `System`.
balacij Oct 27, 2025
88030e3
Merge pull request #4419 from JacquesCarette/rmUnusedCfgPrsr
JacquesCarette Oct 27, 2025
e6b450d
Merge pull request #4420 from JacquesCarette/rmProjMsgIm
JacquesCarette Oct 27, 2025
5ab819e
Merge pull request #4421 from JacquesCarette/wiki-cold-issues
JacquesCarette Oct 27, 2025
c05b3fa
Reuse `fullSI` in all examples
balacij Oct 27, 2025
4990a36
Merge pull request #4423 from JacquesCarette/piSys
JacquesCarette Oct 27, 2025
fe2f522
Merge pull request #4424 from JacquesCarette/reuseFullSI
JacquesCarette Oct 27, 2025
e88df3f
fix two things noticed by Sam
JacquesCarette Oct 28, 2025
6865597
Added a link to the GOOL/GProc Overview
B-rando1 Oct 13, 2025
5b2a90f
Changed link to relative to match other links
B-rando1 Oct 13, 2025
42057c0
Removed auto-formatting
B-rando1 Oct 13, 2025
dccd70c
Removed link to deleted wiki page
B-rando1 Oct 13, 2025
e1263da
Replaced `-`'s with `*`'s
B-rando1 Oct 14, 2025
18138b6
Removed other random bit of auto-formatting
B-rando1 Oct 14, 2025
5cdbf01
Fixed the wiki link for GOOL/GProc Overview
B-rando1 Oct 18, 2025
1c1a833
Wiki sidebar: reverted `*` bullets to `-`
B-rando1 Oct 20, 2025
d220d59
Wiki sidebar: removed `<` `>` from link
B-rando1 Oct 20, 2025
b98ebff
Removed `.md` from GOOL/GProc wiki link
B-rando1 Oct 20, 2025
7e95ff9
Remove unused ConfigParser in drasil-code.
balacij Oct 24, 2025
dc0e950
Updated Stack install guide link
B-rando1 Oct 22, 2025
ddc6805
Removed redundant LaTeX guide link
B-rando1 Oct 22, 2025
17ccaba
Made the Inkscape links point to latest stable
B-rando1 Oct 22, 2025
0986868
Workspace Setup: Removed Graphviz extension link
B-rando1 Oct 23, 2025
36e27a1
Move drasil-code's related to searching for an ICO solution scheme to…
balacij Oct 24, 2025
694b1f2
Remove Projectile's output message IM
balacij Oct 25, 2025
2c9ddf7
Created wiki page for cold issues
B-rando1 Oct 25, 2025
dae45ad
Wiki homepage: replaced cold issues text with link
B-rando1 Oct 25, 2025
b2adbd6
`piSys`: Work with `ChunkDB`s directly rather than through a `System`.
balacij Oct 27, 2025
5c22315
Reuse `fullSI` in all examples
balacij Oct 27, 2025
42e88ec
hand-merge main, again again.
JacquesCarette Oct 28, 2025
e05c42e
first step: don't duplicate information from DblPend
JacquesCarette Oct 28, 2025
765981a
get rid of some duplication
JacquesCarette Oct 29, 2025
a2f1c6c
merge re-added this while it was not supposed to be. I prefer to be e…
JacquesCarette Oct 29, 2025
75dbc3f
Merge pull request #4405 from JacquesCarette/nounPhraseSent4
JacquesCarette Oct 30, 2025
d434ba7
Move ExprC CodeExpr typeclass instance to Drasil.Code namespace in
balacij Nov 3, 2025
c84e957
Install fresh JupyterLab copy to fix broken MathJaX links in
balacij Nov 3, 2025
1da57b4
Remove one (ab)use of mkDocDesc by minimizing its hack.
balacij Nov 3, 2025
351d309
mkDocDesc is now called only once during processing instead of 4 time…
JacquesCarette Nov 4, 2025
4fc5813
added debugging and fixed type checking error; switched back to Simpl…
sarrasoussia Nov 4, 2025
7fa54b4
Merge branch 'main' into vectorInteg
sarrasoussia Nov 4, 2025
51d1618
fix hlint errors
sarrasoussia Nov 4, 2025
20d96ba
Merge pull request #4430 from JacquesCarette/mvCodeExprExprC
JacquesCarette Nov 4, 2025
a8d7f44
Merge pull request #4431 from JacquesCarette/fixJupHtml
JacquesCarette Nov 4, 2025
dde867d
*.hs files: Remove all per-line trailing whitespace.
balacij Nov 4, 2025
eee9661
*.hs files: Ensure all end with a newline character.
balacij Nov 4, 2025
b12b07b
Merge branch 'main' of github.com:JacquesCarette/Drasil into sglpendWarn
balacij Nov 4, 2025
3bd4751
Merge pull request #4435 from JacquesCarette/rmTrlngWs
JacquesCarette Nov 4, 2025
15e4b37
Appease HLint warnings.
balacij Nov 4, 2025
9ec0e50
Merge branch 'sglpendWarn' of github.com:JacquesCarette/Drasil into m…
balacij Nov 4, 2025
abebc93
Improve comments on traceGCon' and rename to genTraceGraphLabCons.
balacij Nov 4, 2025
cd06383
Merge pull request #4433 from JacquesCarette/sglpendWarn
JacquesCarette Nov 4, 2025
e36c1ec
Merge pull request #4432 from JacquesCarette/mnmzDcDsc
JacquesCarette Nov 5, 2025
d28354a
Bump JamesIves/github-pages-deploy-action from 4.7.3 to 4.7.4
dependabot[bot] Nov 10, 2025
b9c072a
Fixed typos in What-If.md
B-rando1 Nov 10, 2025
9af23cb
Merge pull request #4439 from JacquesCarette/dependabot/github_action…
balacij Nov 11, 2025
ef8b42b
Added 'Working Notes' wiki file
B-rando1 Nov 11, 2025
d71ca4a
Moved WIP Projects from sidebar to Working Notes
B-rando1 Nov 11, 2025
c7d7b74
Moved 'Attributes' discussions
B-rando1 Nov 11, 2025
e03ab57
Working Notes: added headers
B-rando1 Nov 11, 2025
61c8687
Moved the rest of Working Notes from "Design"
B-rando1 Nov 11, 2025
b37b6e9
Added File Input Patterns Discussion
B-rando1 Nov 11, 2025
fab54bf
`Chunk`: Create instance for `HasChunkRefs Chunk`
balacij Nov 11, 2025
5c719d2
`Chunk`: Create instance for `HasChunkRefs Chunk`
balacij Nov 11, 2025
e30b1b5
Added "What If" to homepage
B-rando1 Nov 12, 2025
75a50b2
swhsnopcm: Remove extra added copy of tempW to symbols list.
balacij Nov 13, 2025
03bf61c
Remove `prnt`.
balacij Nov 13, 2025
be0d00d
Re-align `prntDoc` code and note that the lesson plan only renders
balacij Nov 13, 2025
a30c61b
Deps clean-up and tidying comment for `srsFormatError`.
balacij Nov 13, 2025
adc56a1
Rename `gen` to `genDoc`.
balacij Nov 13, 2025
2da3a8c
Re-align `writeDoc` code.
balacij Nov 14, 2025
fe49bba
`drasil-website`: Don't use `fullSI` when `si` is enough.
balacij Nov 14, 2025
e310dfa
drasil-website: Remove duplicate chunks inserted in its chunk database.
balacij Nov 14, 2025
b72edb4
Switch to out-of-order-permitted chunk insertion when creating `Chun…
balacij Nov 14, 2025
b73362b
Re-order cdb arguments to shorten cdb definition
balacij Nov 11, 2025
27c8726
insertAllOutOfOrder12: Only need to check that inserted chunks aren't…
balacij Nov 12, 2025
bd00644
insertAllOutOfOrder12: Add more comments for clarity.
balacij Nov 12, 2025
f160ed8
insertAllOutOfOrder12: Add dependancy checks for LablledContents and …
balacij Nov 12, 2025
75bb75d
insertAllOutOfOrder12: Fix logical bug in hardLookup. invert will not…
balacij Nov 12, 2025
6cfbe09
insertAllOutOfOrder12: Re-write how chunk dependants lists are updated
balacij Nov 14, 2025
7883525
insertAllOutOfOrder12: Remove previously used function for enumeratin…
balacij Nov 14, 2025
5c05aba
insertAllOutOfOrder12: LCs and Rs barely function as-is in the
balacij Nov 14, 2025
e5848e9
drasil-website: Remove duplicate chunks inserted in its chunk database.
balacij Nov 14, 2025
6d4d6d4
Merge pull request #4446 from JacquesCarette/mkCRC
JacquesCarette Nov 14, 2025
d6566d5
Remove unused list in SWHS/Body.hs
balacij Nov 14, 2025
f3ab64d
Abstract SRS+code-generation-related code out and move `drasil-gen`.
balacij Nov 14, 2025
dc342dd
Merge pull request #4444 from JacquesCarette/working-notes
JacquesCarette Nov 14, 2025
6141a41
Merge pull request #4454 from JacquesCarette/dwebch
JacquesCarette Nov 14, 2025
f873975
`drasil-gen`: Move `docChoices` to Drasil.Generator.Formats and re-wire
balacij Nov 15, 2025
f25fc22
`drasil-gen`: Move Projectile's `genCodeWithChoices` to `drasil-gen`.
balacij Nov 15, 2025
b73d68f
`drasil-gen`: `genCodeWithChoices` -> `exportSmithEtAlSrsWCodeZoo`
balacij Nov 15, 2025
777f5c9
Remove unused parts of Projectile/Body.hs
balacij Nov 15, 2025
af08ab6
`drasil-gen`: Create `exportLessonPlan` abstracting from Projectile's
balacij Nov 15, 2025
788afee
`drasil-gen`: Hide `genDot` export.
balacij Nov 15, 2025
3527b4c
`drasil-gen`: Remove `genCode` export.
balacij Nov 15, 2025
09f06d3
`drasil-gen`: Re-organize export lists in `Drasil.Generator.Generate`
balacij Nov 15, 2025
617867f
Merge branch 'main' of github.com:JacquesCarette/Drasil into basicTou…
balacij Nov 15, 2025
503afbc
Merge pull request #4449 from JacquesCarette/what-if
JacquesCarette Nov 15, 2025
35fd353
Merge pull request #4452 from JacquesCarette/swhsnopcmRmTempW
JacquesCarette Nov 15, 2025
6a56093
Merge branch 'main' of github.com:JacquesCarette/Drasil into cdbInser…
balacij Nov 15, 2025
4645ec3
Merge pull request #4445 from JacquesCarette/cdbInsertOutOfOrder12
JacquesCarette Nov 15, 2025
4b2dee9
Updated Windows section of Git2Know
B-rando1 Nov 15, 2025
eba3c95
Added note on VS Code's visual merge editor
B-rando1 Nov 15, 2025
555af40
Removed "Things to Avoid" from Git2Know
B-rando1 Nov 15, 2025
50b245e
Linter: Check for trailing whitespace in Haskell code.
balacij Nov 16, 2025
474ae67
Clean up missed whitespace cleaning in `drasil-lang`
balacij Nov 16, 2025
16d5b95
Add `check_whitespace` Makefile rule.
balacij Nov 16, 2025
4a1e924
check_whitespace.sh: Avoid using find and a for-loop...
balacij Nov 16, 2025
f647239
Fix file permissions for `check_whitespace.sh`.
balacij Nov 16, 2025
870f728
`drasil-gen`: abstract away `drasil-website` code related to website
balacij Nov 15, 2025
6b1b0f9
`drasil-gen`: Remove `genDoc` export of `drasil-gen`.
balacij Nov 16, 2025
7818601
Merge pull request #4459 from JacquesCarette/git2know
JacquesCarette Nov 16, 2025
9afc2c4
Merge pull request #4464 from JacquesCarette/whitespaceLintCheck
JacquesCarette Nov 16, 2025
11c5be1
`drasil-gen`: Add a few comments on key exported functions.
balacij Nov 16, 2025
5a56fbd
Merge branch 'main' of github.com:JacquesCarette/Drasil into basicTou…
balacij Nov 16, 2025
d9f4011
Appease linter warnings.
balacij Nov 16, 2025
ae2690d
Replace `fillReqs`, `fullReqs` and similar functions that work to
balacij Nov 17, 2025
fc2e394
Remove `inReq EmptyS` hack.
balacij Nov 17, 2025
55113da
Replace `FReqsSub` (auto-generating input-values FR) with `FReqsSub'`…
balacij Nov 17, 2025
0069c60
`ChunkDB`: Enable hard errors on duplicate chunk insertions.
balacij Nov 17, 2025
b3e58df
Added link to New Workspace Setup
B-rando1 Nov 17, 2025
f9b33c4
Fixed typo in Workflow.md
B-rando1 Nov 17, 2025
6d13082
Removed misleading language from PR instructions
B-rando1 Nov 17, 2025
d6da1bf
Updated 'Updating Stable' instructions
B-rando1 Nov 17, 2025
3361da4
Added a clarifying note to PR best practices
B-rando1 Nov 17, 2025
cfcefee
Removed Functions-to-Generate-SRS-Documents.md
B-rando1 Nov 17, 2025
c96f803
Merge pull request #4453 from JacquesCarette/basicTouchUpsOnGen
JacquesCarette Nov 17, 2025
c1fdd5d
Merge pull request #4465 from JacquesCarette/protoRmFillReqs
JacquesCarette Nov 17, 2025
bb96523
Merge pull request #4467 from JacquesCarette/contributors-guide
JacquesCarette Nov 17, 2025
e63205b
Merge pull request #4468 from JacquesCarette/workflow
JacquesCarette Nov 17, 2025
4e278ca
Merge pull request #4466 from JacquesCarette/hardErrorsDupeChunkInsert
JacquesCarette Nov 17, 2025
692dc30
Fixed/updated some information on Folder Layout
B-rando1 Nov 19, 2025
0cc2625
Removed mention of drasil-code-base
B-rando1 Nov 19, 2025
849faa6
Added drasil-system description to Folder Layout
B-rando1 Nov 19, 2025
e9aa8c8
Added information on stable_website
B-rando1 Nov 19, 2025
5c9ae18
GamePhysics: Remove dead code accidentally leftover by #4453.
balacij Nov 21, 2025
1aa453e
`drasil-docLang`: Clean up `mkDoc` a bit.
balacij Nov 21, 2025
62d3437
`drasil-docLang`: Fuse `fillcdbSRS` with `mkDoc`.
balacij Nov 21, 2025
82d8732
FIXME note about `typeCheckSI`.
balacij Nov 22, 2025
eec2312
`drasil-docLang`: Explain how `mkDoc` works a bit more.
balacij Nov 22, 2025
f670a50
`exportSmithEtAlSrs`: Do not return `syst'` (`ChunkDB` 'filled' with
balacij Nov 22, 2025
8720d1d
`drasil-gen`: `exportSmithEtAlSrs`: No need to return `System` anymore.
balacij Nov 22, 2025
ab412b1
Merge branch 'gpDC' of github.com:JacquesCarette/Drasil into fuseFill…
balacij Nov 22, 2025
a262d88
Added information on drasil-codeLang
B-rando1 Nov 22, 2025
f15dc0f
`drasil-database`/`ChunkDB`: Remove unneeded `UMap`s.
balacij Nov 22, 2025
3c89792
Added Questions to Working Notes
B-rando1 Nov 22, 2025
ecf63d6
`drasil-database`: Remove special treatment of `LabelledContent`.
balacij Nov 20, 2025
b5d6574
`LabelledContent`: Clone the `UID` of the internal `Reference` as its
balacij Nov 20, 2025
8b3a46e
Merge branch 'gpDC' of github.com:JacquesCarette/Drasil into mvRefsTo…
balacij Nov 22, 2025
cef0c6d
wip: everything references related to `System` and
balacij Nov 22, 2025
1fbf3e7
wip: Remove commented out code from `ChunkDB.hs`.
balacij Nov 22, 2025
8535cef
wip: Switching backend of `PrintingInformation` to `System` and beg more
balacij Nov 23, 2025
e160ef4
wip: GlassBR works.
balacij Nov 23, 2025
fdf380b
wip: All other examples compiling and passing stable/ checks.
balacij Nov 23, 2025
0fb147d
Remove unnecessary note.
balacij Nov 23, 2025
0981cbd
Highlight that `drasil-database` now no longer needs any other package
balacij Nov 23, 2025
62cf7f4
Merge branch 'rmLCSpclTrtmt' of github.com:JacquesCarette/Drasil into…
balacij Nov 23, 2025
5ceb5f7
`ChunkDB.hs`: Get rid of dead code and commentary.
balacij Nov 23, 2025
d3daf03
Move all `drasil-database`-related modules from `drasil-lang` to
balacij Nov 23, 2025
36be69a
`drasil-database`: Move `Dump.hs` to new namespace.
balacij Nov 23, 2025
b23152f
`drasil-database`: Move `ChunkDB.hs` to new namespace.
balacij Nov 23, 2025
f3e4f4d
`drasil-database`: Move `TypedUIDRef.hs` to new namespace.
balacij Nov 23, 2025
662b2f4
`drasil-database`: Update re-export module; move to new namespace.
balacij Nov 23, 2025
79a4a1b
wip: Fixing `drasil-database`-related imports in other packages.
balacij Nov 23, 2025
07aac05
`drasil-database`: Fix remaining `drasil-database`-related imports in
balacij Nov 23, 2025
af6f2c4
Appease GHC warning about misleading import.
balacij Nov 23, 2025
1f8ba28
Merge pull request #4478 from JacquesCarette/gpDC
JacquesCarette Nov 24, 2025
fd66c47
Merge pull request #4480 from JacquesCarette/systPrime
JacquesCarette Nov 24, 2025
5013cf2
Merge branch 'main' into fuseFillCDBMkDoc
JacquesCarette Nov 24, 2025
b415f15
Merge pull request #4483 from JacquesCarette/folder-layout
JacquesCarette Nov 24, 2025
164125a
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
f8b3922
Merge pull request #4490 from JacquesCarette/dependabot/github_action…
balacij Nov 24, 2025
85c22e1
remove deprecated multilingual field from mdBook config
Xinlu-Y Nov 18, 2025
273b493
Merge branch 'main' into fuseFillCDBMkDoc
B-rando1 Nov 24, 2025
dd78eca
Merge pull request #4479 from JacquesCarette/fuseFillCDBMkDoc
smiths Nov 25, 2025
8681835
Merge pull request #4485 from JacquesCarette/questions
JacquesCarette Nov 26, 2025
6f28745
Merge pull request #4487 from JacquesCarette/noMoreUMaps
JacquesCarette Nov 26, 2025
625ca11
Merge pull request #4469 from JacquesCarette/srs-functions
JacquesCarette Nov 26, 2025
944a969
Merge pull request #4491 from JacquesCarette/mdBookMultiLingual
JacquesCarette Nov 26, 2025
b3185c6
Removed "Functions to Generate SRS" From Sidebar
B-rando1 Nov 26, 2025
3c369fe
Merge branch 'main' of github.com:JacquesCarette/Drasil into mvRefsTo…
balacij Nov 27, 2025
38ddb8b
Merge pull request #4495 from JacquesCarette/srs-functions-sidebar
JacquesCarette Nov 27, 2025
db08c82
Merge branch 'mvRefsToSystem' of github.com:JacquesCarette/Drasil int…
balacij Nov 27, 2025
4034823
Merge pull request #4481 from JacquesCarette/rmLCSpclTrtmt
JacquesCarette Nov 28, 2025
70a62d6
Merge branch 'main' of github.com:JacquesCarette/Drasil into mvRefsTo…
balacij Nov 28, 2025
ab298a8
Merge branch 'mvRefsToSystem' of github.com:JacquesCarette/Drasil int…
balacij Nov 28, 2025
51b4106
`ChunkDB`: Simplify a few functions related to it.
balacij Nov 28, 2025
cff86fe
`ChunkDB`: Update comments.
balacij Nov 28, 2025
474e576
Merge pull request #4488 from JacquesCarette/mvRefsToSystem
JacquesCarette Nov 28, 2025
5ab30a2
Merge pull request #4489 from JacquesCarette/drslDBStandAlone
JacquesCarette Nov 28, 2025
3618724
`drasil-lang`: Switch `RawContent`'s `CodeBlock` constructor from using
balacij Dec 1, 2025
ec6f304
Remove `drasil-database`-related re-exports from `drasil-lang`.
balacij Dec 1, 2025
9549191
Renamed Getting To Know Potential Users of Drasil
B-rando1 Nov 22, 2025
1ecbf9e
Added Potential Users to Working Notes
B-rando1 Nov 22, 2025
62c6e44
Added a line from subpackages to folder layout
B-rando1 Dec 1, 2025
d361226
Added a warning message above SubPackages
B-rando1 Dec 1, 2025
a6922af
Moved link to SubPackages
B-rando1 Dec 1, 2025
ed7cd68
Fixed a typo
B-rando1 Dec 1, 2025
97e268d
Reworked the `git` and `makefile` sections
B-rando1 Dec 1, 2025
ef105e5
Linter Workflow: Add check for excessive consecutive newlines.
balacij Dec 2, 2025
98d6678
Remove duplicate newline character to trigger Linter CI.
balacij Dec 2, 2025
5ee89d4
Remove all extra newlines
balacij Dec 2, 2025
d4a80ba
`drasil-database`: Update READMEs.
balacij Dec 4, 2025
b3d1e47
Updated the notes on debugging Chunks
B-rando1 Dec 5, 2025
863865c
Added a note on "not found in"
B-rando1 Dec 5, 2025
34bd912
Added a note on ripgrep
B-rando1 Dec 5, 2025
62cdda9
Merge pull request #4497 from JacquesCarette/codeBlockExpr
JacquesCarette Dec 7, 2025
d53e30c
Merge pull request #4484 from JacquesCarette/potential-users
JacquesCarette Dec 7, 2025
4de3e90
Merge pull request #4499 from JacquesCarette/subpackages
JacquesCarette Dec 7, 2025
7b0e67d
Merge pull request #4500 from JacquesCarette/lintExcessiveNewlines
JacquesCarette Dec 7, 2025
8c1c439
Merge pull request #4505 from JacquesCarette/updbrdm
JacquesCarette Dec 7, 2025
12c9864
Merge pull request #4506 from JacquesCarette/wiki-debugging
JacquesCarette Dec 7, 2025
f207dba
Merge branch 'main' of github.com:JacquesCarette/Drasil into drasilDBL
balacij Dec 8, 2025
70f9267
Merge pull request #4498 from JacquesCarette/drasilDBL
JacquesCarette Dec 8, 2025
783c056
partial fixes
sarrasoussia Dec 9, 2025
fb914a7
WIP: Fix sglpend mass references - use QPP.mass consistently
sarrasoussia Dec 9, 2025
815aee9
Merge origin/main into vectorInteg - resolved all conflicts
sarrasoussia Dec 9, 2025
f9f5eed
Fix remaining conflict marker in Physics.hs
sarrasoussia Dec 9, 2025
3ad731c
Fix remaining conflict markers in DataDefs.hs and ModuleDefs.hs
sarrasoussia Dec 9, 2025
8fc81d6
WIP: Space.hs changes
sarrasoussia Dec 9, 2025
c0b65f4
Merge CSchankGA into vectorInteg - resolved all conflicts
sarrasoussia Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 8 additions & 4 deletions .github/ISSUE_TEMPLATE/tmpltMeetIssue.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
---
name: Drasil Meeting
about: Create an agenda for Drasil team meetings and to track details.
title: 'Drasil Team Meeting - Tuesday, Date, 1:30 pm, ITB/225'
title: 'Drasil Team Meeting - Tuesday, Date, 1:30 pm, ITB/112'
labels: 'meeting'
assignees:
- balacij
- JacquesCarette
- smiths
- sarrasoussia
- jackwyand
- B-rando1
- Xinlu-Y
- JoeZZG


---

**Agenda**

1. Blockers for @sarrasoussia

2. Blockers for @jackwyand
2. Blockers for @B-rando1
3. Blockers for @Xinlu-Y
4. Blockers for @JoeZZG

Regrets:

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: "Build & Deploy"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: "Update apt package list"
run: |
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
stack-version: 'latest'

- name: "Cache dependencies"
uses: actions/cache@v4.2.4
uses: actions/cache@v4.3.0
with:
path: |
~/.stack
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:

- name: "Extract HTML copies of Jupyter Notebooks"
run: |
sudo apt-get install -y --fix-missing jupyter
pip install jupyterlab
make jupyter_html
if: ${{ steps.changes.outputs.md == 'true' || fromJSON(env.is_deployment) }}

Expand All @@ -144,7 +144,7 @@ jobs:

- name: "Deploy 🚀"
if: ${{ fromJSON(env.is_deployment) }}
uses: JamesIves/github-pages-deploy-action@v4.7.3
uses: JamesIves/github-pages-deploy-action@v4.7.4
with:
git-config-name: ${{ secrets.BOT_NAME }}
git-config-email: ${{ secrets.BOT_EMAIL }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/Lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: "Linter"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

# Prepare more specific paths filters
- uses: dorny/paths-filter@v3.0.2
Expand All @@ -34,7 +34,7 @@ jobs:
if: ${{ steps.filter.outputs.hs == 'true' }}
uses: haskell-actions/hlint-setup@v2
with: # DO NOT MODIFY THE BELOW LINE MANUALLY -- code/scripts/update_default_stackage.sh is in charge of this!
version: '3.6.1' # HLINT VERSION TIED TO CURRENT TARGET (LTS-22.31)
version: '3.6.1' # HLINT VERSION TIED TO CURRENT TARGET (LTS-22.44)

- name: 'Run HLint'
if: ${{ steps.filter.outputs.hs == 'true' }}
Expand All @@ -44,6 +44,10 @@ jobs:
path: code/
fail-on: status

- name: 'Check lines have no trailing whitespace, all files have trailing newlines, and no file contains exessive newlines'
if: ${{ steps.filter.outputs.hs == 'true' }}
run: scripts/check_whitespace.sh

# If a sh script was edited, then run shellcheck
- name: "Run ShellCheck"
if: ${{ steps.filter.outputs.sh == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Wiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: # Fetch enough history to resolve HEAD^ -- https://github.com/actions/checkout?tab=readme-ov-file#checkout-head
fetch-depth: 2

Expand Down
7 changes: 5 additions & 2 deletions code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ debug: setup_debug_vars test ##@Examples Run test target with better debugging t
# Debugging individual examples
$(DEBUG_EXAMPLES): %$(DEBUG_E_SUFFIX): setup_debug_vars %$(TEST_E_SUFFIX)

pr_ready: all stan hlint ##@General Check if your current work is ready to for a PR via `all` and `hlint` and stan.
pr_ready: all stan hlint check_whitespace ##@General Check if your current work is ready to for a PR via `all` and `hlint` and stan.
@echo "Your build/ and stable/ match, and your code currently passes HLint tests."
@echo "Feel free to create a PR for your code if you feel it's ready."

Expand Down Expand Up @@ -475,6 +475,9 @@ hlint: check_stack ##@Linters Run HLint through the drasil packages. Uses a loca
hot_hlint: ##@Linters Run HLint through the drasil packages. Uses the latest HLint version, downloading the binary each time.
curl --max-time 60 -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s .

check_whitespace: ##@Linters Check whitespace rules in all Haskell code (i.e., no per-line trailing whitespace and always trailing newline)
scripts/check_whitespace.sh

shellcheck: ##@Linters Run ShellCheck static analyzer on all shell script files.
find . -type f -name '*.sh' -exec shellcheck {} +

Expand Down Expand Up @@ -627,4 +630,4 @@ help_packages: ##@Help Lists all packages.
echo " $$package"; \
done

.PHONY: help setup_debug_vars clean clean_artifacts cleanArtifacts gool code deps hlint hot_hlint analysis tex doc debug test graphs graphmod check_stack nographs graphs website deploy_code_path deploy deploy_lite all install examples tracegraphs doxygen shellcheck mdbook_build jupyter_html $(GOOLTEST) $(ALL_EXPANDED_TARGETS)
.PHONY: help setup_debug_vars clean clean_artifacts cleanArtifacts gool code deps hlint hot_hlint check_whitespace analysis tex doc debug test graphs graphmod check_stack nographs graphs website deploy_code_path deploy deploy_lite all install examples tracegraphs doxygen shellcheck mdbook_build jupyter_html $(GOOLTEST) $(ALL_EXPANDED_TARGETS)
6 changes: 3 additions & 3 deletions code/drasil-build/lib/Build/Drasil.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Build.Drasil (
RuleTransformer(makeRule)
-- ** Types and Functions
-- AST
, Annotation, Command, mkCheckedCommand, mkCommand, Dependencies, Rule,
, Annotation, Command, mkCheckedCommand, mkCommand, Dependencies, Rule,
mkFile, mkRule
-- MakeString
, MakeString, (+:+), makeS, mkFreeVar, mkImplicitVar, mkWindowsVar, mkOSVar
Expand All @@ -15,9 +15,9 @@ module Build.Drasil (
)
where

import Build.Drasil.Make.AST (Annotation, Command, Dependencies, mkCheckedCommand,
import Build.Drasil.Make.AST (Annotation, Command, Dependencies, mkCheckedCommand,
mkCommand, mkFile, mkRule, Rule)
import Build.Drasil.Make.Import (RuleTransformer(makeRule))
import Build.Drasil.Make.MakeString ((+:+), makeS, MakeString, mkFreeVar,
import Build.Drasil.Make.MakeString ((+:+), makeS, MakeString, mkFreeVar,
mkImplicitVar, mkWindowsVar, mkOSVar)
import Build.Drasil.Make.Print (genMake)
4 changes: 2 additions & 2 deletions code/drasil-build/lib/Build/Drasil/Make/Print.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import Text.PrettyPrint (Doc, empty, text, (<>), (<+>), ($+$), ($$), hsep, vcat)
import qualified Data.Text as T
import Text.Wrap

import Build.Drasil.Make.AST (Annotation, Command(C),
CommandOpts(IgnoreReturnCode), Dependencies, Makefile(M), Rule(R), Target,
import Build.Drasil.Make.AST (Annotation, Command(C),
CommandOpts(IgnoreReturnCode), Dependencies, Makefile(M), Rule(R), Target,
Type(Abstract))
import Build.Drasil.Make.Helpers (addCommonFeatures, tab)
import Build.Drasil.Make.Import (RuleTransformer, toMake)
Expand Down
2 changes: 1 addition & 1 deletion code/drasil-build/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-22.31
resolver: lts-22.44

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ module Data.Drasil.ExternalLibraries.ODELibraries (
-- * Apache Commons (Java)
apacheODEPckg, apacheODESymbols,
-- * Odeint (C++)
odeintPckg, odeintSymbols, diffCodeChunk
odeintPckg, odeintSymbols, diffCodeChunk, odeInfoChunks
) where
import Control.Lens ((^.), _1, _2, over)

import Drasil.Database (HasUID(..), (+++))
import Language.Drasil hiding (dim)
import Language.Drasil (HasSymbol(symbol), MayHaveUnit(getUnit),
HasSpace(typ), Space (Actor, Natural, Real, Void, Boolean, String, Array, Vect, ClifS), implVar, implVar',
compoundPhrase, nounPhrase, nounPhraseSP, label, sub, Idea(getA), NamedIdea(term), Stage(..),
Definition (defn), (+:+), Sentence (S), DefinedQuantityDict, dqdWr, implVarAU')
import Language.Drasil.Space (ClifKind(..))

import Language.Drasil.Display (Symbol(Label, Concat))

import Language.Drasil.Code (Lang(..), ExternalLibrary, Step, Argument,
Expand Down Expand Up @@ -39,8 +45,6 @@ import Language.Drasil.Code (Lang(..), ExternalLibrary, Step, Argument,

import qualified Drasil.Code.CodeExpr.Development as CE

import Control.Lens ((^.), _1, _2, over)

-- SciPy Library (Python)

-- | [SciPy](https://www.scipy.org/) ODE library package.
Expand Down Expand Up @@ -114,13 +118,12 @@ mthdArg = narg $ implVar "method_scipy" (nounPhrase
atolArg = narg $ implVar "atol_scipy" (nounPhrase
"absolute tolerance for ODE solution" "absolute tolerances for ODE solution")
"the absolute tolerance for the ODE solution"
Real (label "atol")
Real (label "atol")
rtolArg = narg $ implVar "rtol_scipy" (nounPhrase
"relative tolerance for ODE solution" "relative tolerances for ODE solution")
"the relative tolerance for the ODE solution"
Real (label "rtol")


r, xAxis, ut, transpose :: CodeVarChunk
r = quantvar $ implVar "r_scipy" (nounPhrase "ODE object" "ODE objects")
"the ODE object"
Expand All @@ -137,7 +140,6 @@ transpose = quantvar $ implVar "transpose_numpy"
"the Numpy Array Transpose"
(Array Real) (label "u_t.T") -- (ccObjVar ut transpose) does not seem to work.


f, odefunc, setIntegrator, setInitVal, successful,
integrateStep, arange, odeintFunc :: CodeFuncChunk
f = quantfunc $ implVar "f_scipy" (nounPhrase "function representing ODE system"
Expand Down Expand Up @@ -245,9 +247,9 @@ rTol = quantvar $ implVar "rTol_oslo" (nounPhrase
"relative tolerance for ODE solution" "relative tolerances for ODE solution")
"the relative tolerance for the ODE solution"
Real (label "RelativeTolerance")
sol = quantvar $ implVar "sol_oslo" (nounPhrase
"container for ODE information" "containers for ODE information")
"the container for ODE information" solT(label "sol")
sol = quantvar $ implVar "sol_oslo" (nounPhrase
"container for ODE information" "containers for ODE information")
"the container for ODE information" solT(label "sol")
points = quantvar $ implVar "points_oslo" (nounPhrase
"container holding ODE solution" "containers holding ODE solution")
"the container holding the ODE solution"
Expand Down Expand Up @@ -425,7 +427,7 @@ adamsC, dp54C, stepHandlerCtor, addStepHandler, initMethod, handleStep,
getInterpState, integrate, getDimension, computeDerivatives :: CodeFuncChunk
adamsC = quantfunc $ implVar "adams_ctor_apache" (nounPhrase
"constructor for an Adams-Bashforth integrator"
"constructors for an Adams-Bashforth integrator")
"constructors for an Adams-Bashforth integrator")
"the constructors for an Adams-Bashforth integrator"
(Actor adams) (Label adams)
dp54C = quantfunc $ implVar "dp54_ctor_apache" (nounPhrase
Expand Down Expand Up @@ -639,8 +641,8 @@ odeMethodUnavailable = "Chosen ODE solving method is not available" ++
-- | Change in @X@ chunk constructor (where @X@ is a given argument).
diffCodeChunk :: CodeVarChunk -> CodeVarChunk
diffCodeChunk c = quantvar $ implVarAU' (show $ c +++ "d" )
(compoundPhrase (nounPhraseSP "change in") (c ^. term))
(S "the change in" +:+ (c ^. defn)) (getA c)
(compoundPhrase (nounPhraseSP "change in") (c ^. term))
(S "the change in" +:+ (c ^. defn)) (getA c)
(c ^. typ) (Concat [label "d", symbol c Implementation]) (getUnit c)

-- FIXME: This is surely a hack, but I can't think of a better way right now.
Expand Down Expand Up @@ -682,4 +684,15 @@ modifiedODESyst sufx info = map replaceDepVar (odeSyst info)
replaceDepVar (CE.CCCBinaryOp b e1 e2) = CE.CCCBinaryOp b
(replaceDepVar e1) (replaceDepVar e2)
replaceDepVar (CE.Operator ao dd e) = CE.Operator ao dd $ replaceDepVar e
replaceDepVar e = e
replaceDepVar e = e

-- | Collect all chunks related to a specific ODE
odeInfoChunks :: ODEInfo -> [DefinedQuantityDict]
odeInfoChunks info =
let dv = depVar info
in map dqdWr [ dv
, listToArray dv
, arrayVecDepVar info
, diffCodeChunk dv
, listToArray $ diffCodeChunk dv
]
18 changes: 9 additions & 9 deletions code/drasil-code/lib/Language/Drasil/Choices.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ module Language.Drasil.Choices (
Logging(..), AuxFile(..), getSampleData, hasSampleInput, defaultChoices,
choicesSent, showChs, InternalConcept(..)) where

import Control.Lens ((^.))
import Data.Map (Map)
import qualified Data.Map as Map

import Drasil.Database (UID, HasUID (..))
import Drasil.GOOL (CodeType)
import Language.Drasil hiding (None, Var)
import Language.Drasil.Code.Code (spaceToCodeType)
import Language.Drasil.Code.Lang (Lang(..))
import Language.Drasil.Data.ODEInfo (ODEInfo)
import Language.Drasil.Data.ODELibPckg (ODELibPckg)
import Language.Drasil.Mod (Name)
import Data.Map (Map)
import qualified Data.Map as Map

import Drasil.GOOL (CodeType)

import Control.Lens ((^.))

-- | The instruction indicates how the generated program should be written down.
-- Full details of Choices documentation https://github.com/JacquesCarette/Drasil/wiki/The-Code-Generator
Expand Down Expand Up @@ -361,13 +361,13 @@ chsFieldSent :: (Sentence, Sentence) -> Sentence
chsFieldSent (rec, chc) = rec +:+ S "selected as" +:+. chc

-- | Data type of internal concepts
data InternalConcept =
data InternalConcept =
InputConstraintsFn
| InputConstraintsMod
| WriteOutput
| WriteOutput
| DerivedValuesFn
| DerivedValuesMod
| GetInput
| GetInput
| InputParameters
| InputFormat
| OutputFormat
Expand Down
2 changes: 1 addition & 1 deletion code/drasil-code/lib/Language/Drasil/Chunk/CodeBase.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Language.Drasil.Chunk.CodeBase where

import Database.Drasil (ChunkDB, findOrErr)
import Drasil.Database (ChunkDB, findOrErr, UID)
import Drasil.Code.CodeExpr.Development
import Language.Drasil

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ module Language.Drasil.Chunk.CodeDefinition (
CodeDefinition, DefinitionType(..), qtoc, qtov, odeDef, auxExprs, defType,
) where

import Control.Lens ((^.), makeLenses, view)

import Drasil.Code.CodeExpr.Development (expr, CanGenCode(..))
import Drasil.Database (HasUID (..))
import Language.Drasil
import Language.Drasil.Chunk.Code (quantvar, quantfunc)
import Language.Drasil.Data.ODEInfo (ODEInfo(..), ODEOptions(..))

import Control.Lens ((^.), makeLenses, view)

-- | The definition may be specialized to use ODEs.
data DefinitionType = Definition | ODE

Expand Down
6 changes: 3 additions & 3 deletions code/drasil-code/lib/Language/Drasil/Chunk/ConstraintMap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module Language.Drasil.Chunk.ConstraintMap (ConstraintCEMap, ConstraintCE,
) where

import Control.Lens ((^.))
import qualified Data.Map as Map

import Drasil.Database (UID, HasUID(..))
import Drasil.Code.CodeExpr.Development (CodeExpr, constraint)
import Language.Drasil (Constraint, HasUID(..), UID, Constrained(..),
isPhysC, isSfwrC)
import qualified Data.Map as Map
import Language.Drasil (Constraint, Constrained(..), isPhysC, isSfwrC)

-- | Type synonym for 'Constraint CodeExpr'
type ConstraintCE = Constraint CodeExpr
Expand Down
10 changes: 6 additions & 4 deletions code/drasil-code/lib/Language/Drasil/Chunk/NamedArgument.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ module Language.Drasil.Chunk.NamedArgument (
-- * Chunk Type
NamedArgument(..),
-- * Constructor
narg) where
narg
) where

import Language.Drasil (HasSpace(..), HasSymbol(..), HasUID(..),
import Control.Lens ((^.), makeLenses, view)

import Drasil.Database (HasUID(..))
import Language.Drasil (HasSpace(..), HasSymbol(..),
Idea(..), MayHaveUnit(..), NamedIdea(..), Quantity, IsArgumentName,
DefinedQuantityDict, Concept, dqdWr, Definition (defn), ConceptDomain (cdom))

import Control.Lens ((^.), makeLenses, view)

-- | Any quantity can be a named argument (wrapper for 'DefinedQuantityDict'),
-- but with more of a focus on generating code arguments.
newtype NamedArgument = NA {_qtd :: DefinedQuantityDict}
Expand Down
Loading