Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ buildscript {
apply plugin: 'com.github.node-gradle.node'
apply plugin: 'net.researchgate.release'
node {
version = '16.13.2'
npmVersion = '8.3.0'
version = '20.19.5'
npmVersion = '10.8.2'
download = true
}

Expand All @@ -40,7 +40,7 @@ configure(subprojects.findAll { it.name.startsWith('com.minres') }) {
apply plugin: 'eclipse'

group = 'com.minres.coredsl'
version = '2.0.16'
version = '2.0.21'

java {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -54,24 +54,24 @@ configure(subprojects.findAll { it.name.startsWith('com.minres') }) {
}

task npmInstallVsce(type: NpmTask, dependsOn: npmSetup) {
ext.destPath = "$rootProject.projectDir/node_modules/vsce"
ext.destPath = "$rootProject.projectDir/node_modules/@vscode/vsce"
outputs.dir(destPath)
group 'Node'
description 'Installs the NodeJS package "Visual Studio Code Extension Manager"'
args = [ 'install', 'vsce' ]
args = [ 'install', '@vscode/vsce' ]
}

// Configuration for vscode projects
configure(subprojects.findAll { it.name.startsWith('vscode') }) {

apply plugin: 'com.github.node-gradle.node'
node {
version = '16.13.2'
npmVersion = '8.3.0'
version = '20.19.5'
npmVersion = '10.8.2'
download = true
}

version = '2.0.16'
version = '2.0.21'

def inputFiles = fileTree(
dir: projectDir,
Expand Down
7 changes: 6 additions & 1 deletion vscode-extension-self-contained/.vscodeignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.gitignore
.project
.vscode/**
.gradle/**
build/**
*.gradle
*.gradle
tslint.json
src/extension.ts
src/tsconfig.json
17 changes: 17 additions & 0 deletions vscode-extension-self-contained/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CoreDSL

CoreDSL 2 is a domain-specific language to model processor cores at the level of their instruction set architecture (ISA). Its use cases include the generation of ISA-specific artifacts for compilers, instruction set simulators (ISS) and other validation purposes, as well as the user-friendly specification of custom ISA extensions (ISAX) in conjunction with a high-level synthesis (HLS) tool.

The VSCode extension provides a language server for the [CoreDSL](https://github.com/Minres/CoreDSL) language which resolves cross references and validates the syntax.

## Language documentation

[Programmer's manual](https://github.com/Minres/CoreDSL/wiki/CoreDSL-2-programmer's-manual)

## Standalone validator

The project provides a standalone validator as part of the releases, the bundle com.minres.coredsl.validator-2.Y.ZZ.jar contains an all-in-one jar for the validator. It can be used after downloading as follows:

```
java -jar com.minres.coredsl.repository/target/com.minres.coredsl.validator-2.Y.ZZ.jar -r <path to inc dir> <core_desc file>
```
4 changes: 2 additions & 2 deletions vscode-extension-self-contained/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ task startCode(type:Exec, dependsOn: installExtension) {
}

task publish(dependsOn: vscodeExtension, type: NodeTask) {
script = file("$rootProject.projectDir/node_modules/vsce/out/vsce")
script = file("$rootProject.projectDir/node_modules/@vscode/vsce/vsce")
args = [ 'publish', '-p', System.getenv('ACCESS_TOKEN'), "--packagePath", "${project.buildDir}/coredsl-vscode-${project.version}.vsix"]
execOverrides {
workingDir = projectDir
}
}
}
Loading
Loading