Skip to content

Commit 0efeaa2

Browse files
committed
running for primitive data types, somethings wrong in de-/serialization
1 parent 46f0cef commit 0efeaa2

21 files changed

Lines changed: 2023 additions & 1153 deletions

File tree

api.meta.json

Lines changed: 283 additions & 162 deletions
Large diffs are not rendered by default.

api.meta.md

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ type MessageActionItem {
8080
}
8181
```
8282

83-
### Type: MessageActionItem[]
84-
```
85-
type MessageActionItem[] {
86-
87-
}
88-
```
89-
9083
### Type: MessageType
9184
```
9285
enum MessageType { Unused, Error, Warning, Info, Log, Debug }
@@ -206,7 +199,7 @@ type ShowMessageParams {
206199
### Type: ShowMessageRequestParams
207200
```
208201
type ShowMessageRequestParams {
209-
actions : MessageActionItem[]
202+
actions : List
210203
message : STRING
211204
type : MessageType
212205
}
@@ -285,63 +278,63 @@ type TreeNodeId {
285278
### client/logTrace (`server ~~> client`)
286279

287280
```
288-
Client.client/logTrace( arg0 : LogTraceParams ) **async**
281+
Client.client/logTrace( params : LogTraceParams ) **async**
289282
```
290283

291284

292285
### client/sayHello (`server ~~> client`)
293286

294287
```
295-
Client.client/sayHello( arg0 : STRING ) **async**
288+
Client.client/sayHello( e : STRING ) **async**
296289
```
297290

298291

299292
### client/showDocument (`server -> client`)
300293

301294
```
302-
Client.client/showDocument( arg0 : ShowDocumentParams ) -> ShowDocumentResult
295+
Client.client/showDocument( params : ShowDocumentParams ) -> ShowDocumentResult
303296
```
304297

305298

306299
### client/sm (`server ~~> client`)
307300

308301
```
309-
Client.client/sm( arg0 : ShowMessageParams ) **async**
302+
Client.client/sm( params : ShowMessageParams ) **async**
310303
```
311304

312305

313306
### client/userResponse (`server -> client`)
314307

315308
```
316-
Client.client/userResponse( arg0 : ShowMessageRequestParams ) -> MessageActionItem
309+
Client.client/userResponse( params : ShowMessageRequestParams ) -> MessageActionItem
317310
```
318311

319312

320313
### env/contracts (`client -> server`)
321314

322315
```
323-
Server.env/contracts( arg0 : EnvironmentId ) -> ContractDesc[]
316+
Server.env/contracts( env : EnvironmentId ) -> ContractDesc[]
324317
```
325318

326319

327320
### env/functions (`client -> server`)
328321

329322
```
330-
Server.env/functions( arg0 : EnvironmentId ) -> FunctionDesc[]
323+
Server.env/functions( env : EnvironmentId ) -> FunctionDesc[]
331324
```
332325

333326

334327
### env/openContract (`client -> server`)
335328

336329
```
337-
Server.env/openContract( arg0 : ContractId ) -> ProofId
330+
Server.env/openContract( contractId : ContractId ) -> ProofId
338331
```
339332

340333

341334
### env/sorts (`client -> server`)
342335

343336
```
344-
Server.env/sorts( arg0 : EnvironmentId ) -> SortDesc[]
337+
Server.env/sorts( env : EnvironmentId ) -> SortDesc[]
345338
```
346339

347340

@@ -355,63 +348,63 @@ Server.examples/list( ) -> ExampleDesc[]
355348
### goal/actions (`client -> server`)
356349

357350
```
358-
Server.goal/actions( arg0 : NodeTextId, arg1 : INT ) -> TermActionDesc[]
351+
Server.goal/actions( id : NodeTextId, pos : INT ) -> TermActionDesc[]
359352
```
360353

361354

362355
### goal/apply_action (`client -> server`)
363356

364357
```
365-
Server.goal/apply_action( arg0 : TermActionId ) -> TermActionDesc[]
358+
Server.goal/apply_action( id : TermActionId ) -> TermActionDesc[]
366359
```
367360

368361

369362
### goal/free (`client ~~> server`)
370363

371364
```
372-
Server.goal/free( arg0 : NodeTextId ) **async**
365+
Server.goal/free( id : NodeTextId ) **async**
373366
```
374367

375368

376369
### goal/print (`client -> server`)
377370

378371
```
379-
Server.goal/print( arg0 : NodeId, arg1 : PrintOptions ) -> NodeTextDesc
372+
Server.goal/print( id : NodeId, options : PrintOptions ) -> NodeTextDesc
380373
```
381374

382375

383376
### loading/load (`client -> server`)
384377

385378
```
386-
Server.loading/load( arg0 : LoadParams ) -> either<a,b>
379+
Server.loading/load( params : LoadParams ) -> either<a,b>
387380
```
388381

389382

390383
### loading/loadExample (`client -> server`)
391384

392385
```
393-
Server.loading/loadExample( arg0 : STRING ) -> ProofId
386+
Server.loading/loadExample( id : STRING ) -> ProofId
394387
```
395388

396389

397390
### loading/loadKey (`client -> server`)
398391

399392
```
400-
Server.loading/loadKey( arg0 : STRING ) -> ProofId
393+
Server.loading/loadKey( content : STRING ) -> ProofId
401394
```
402395

403396

404397
### loading/loadProblem (`client -> server`)
405398

406399
```
407-
Server.loading/loadProblem( arg0 : ProblemDefinition ) -> ProofId
400+
Server.loading/loadProblem( problem : ProblemDefinition ) -> ProofId
408401
```
409402

410403

411404
### loading/loadTerm (`client -> server`)
412405

413406
```
414-
Server.loading/loadTerm( arg0 : STRING ) -> ProofId
407+
Server.loading/loadTerm( term : STRING ) -> ProofId
415408
```
416409

417410

@@ -439,21 +432,21 @@ Server.meta/version( ) -> STRING
439432
### proofTree/children (`client -> server`)
440433

441434
```
442-
Server.proofTree/children( arg0 : ProofId, arg1 : TreeNodeId ) -> TreeNodeDesc[]
435+
Server.proofTree/children( proof : ProofId, nodeId : TreeNodeId ) -> TreeNodeDesc[]
443436
```
444437

445438

446439
### proofTree/root (`client -> server`)
447440

448441
```
449-
Server.proofTree/root( arg0 : ProofId ) -> TreeNodeDesc
442+
Server.proofTree/root( id : ProofId ) -> TreeNodeDesc
450443
```
451444

452445

453446
### proofTree/subtree (`client -> server`)
454447

455448
```
456-
Server.proofTree/subtree( arg0 : ProofId, arg1 : TreeNodeId ) -> TreeNodeDesc[]
449+
Server.proofTree/subtree( proof : ProofId, nodeId : TreeNodeId ) -> TreeNodeDesc[]
457450
```
458451

459452

@@ -467,7 +460,7 @@ Server.server/exit( ) **async**
467460
### server/setTrace (`client ~~> server`)
468461

469462
```
470-
Server.server/setTrace( arg0 : SetTraceParams ) **async**
463+
Server.server/setTrace( params : SetTraceParams ) **async**
471464
```
472465

473466

0 commit comments

Comments
 (0)