Skip to content
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

Rewrite #122

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
376c686
Rewrite
samestep Dec 26, 2023
c7676b3
Bring back VS Code extension from before #85
samestep Dec 29, 2023
28eed89
Rename `packages/core` dir to `packages/rose`
samestep Dec 29, 2023
08c379d
Add a `rose` binary
samestep Dec 29, 2023
31c7b97
Revise the syntax
samestep Dec 30, 2023
7d18dbb
Implement initial `rose build` command
samestep Dec 30, 2023
e5fbe09
Auto-close double quotes
samestep Jan 2, 2024
2949941
Sketch out autodiff types
samestep Jan 2, 2024
c7f6e58
Flesh out stdlib a bit more
samestep Jan 2, 2024
547f843
Correct `Neg` instances
samestep Jan 2, 2024
1ab9911
Lex variable names with leading underscores
samestep Jan 2, 2024
cc3f966
Lex numbers before identifiers
samestep Jan 2, 2024
a7cc043
Define some array functions
samestep Jan 2, 2024
1447fa6
Fix typos
samestep Jan 2, 2024
37e756e
Define custom transpose for `new` and `map`
samestep Jan 2, 2024
e3662b5
Lex via Moo
samestep Jan 2, 2024
b159aa4
Remove unnecessary parens
samestep Jan 2, 2024
97e29c9
Replace assignment syntax with `set` function
samestep Jan 2, 2024
e141be8
Parse `use` and transform into `import`
samestep Jan 3, 2024
6f82b50
Use `*.js` prefix
samestep Jan 3, 2024
8464ab8
Throw error on extra closing bracket
samestep Jan 3, 2024
26b2053
Correctly lex multiline string literals
samestep Jan 3, 2024
aabdde2
Parse infix declarations
samestep Jan 3, 2024
289d668
Backtickify source instead of `JSON.stringify`
samestep Jan 3, 2024
2d3be12
Define types for syntax tree
samestep Jan 4, 2024
fbfb8cf
Tweak the language
samestep Jan 10, 2024
e8c5193
Use Prettier for JS
samestep Jan 29, 2024
46e7eb9
Improve autodiff type theory
samestep Jan 30, 2024
2df0bc0
Merge branch 'main' into rewrite
samestep Jan 30, 2024
81e3189
Parse basic functions
samestep Jan 30, 2024
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
Use Prettier for JS
  • Loading branch information
samestep committed Jan 29, 2024
commit e8c51939ede5eda846896d745de874633f4990b7
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Prettier-supported languages here: https://prettier.io/docs/en/index.html
"[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[markdown]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
Expand Down