Commit Graph

254 Commits

Author SHA1 Message Date
Marcin Kostrzewa
8432a9695a
Absolute code locations (#363) 2019-11-29 10:27:34 +01:00
Paul Kapustin
2ff8f6277e Make some language improvements in design docs (#361) 2019-11-28 22:06:43 +00:00
Maciej Mikołajek
5ce9f0b023
Documentation Generator: Styles (#359)
* wip

* up style

* WD changes

* @wdanilo - should be ready

* Tuple -> case class

* hide bodies in constructors

* rm test

* final touches
2019-11-27 21:05:48 +01:00
Ara Adkins
9a4332108f
Add lambdas, types, and methods support to new syntax (#358) 2019-11-27 11:32:36 +00:00
Maciej Mikołajek
1e3e105232
Documentation Parser: Fix lists parsing, changes to HTML file rendering (#357)
* save a questionable bit of code

* Fix indentation manager by introducing stack of indents

* more fixes

* ui wip

* HTML Rendering change - first module name, then documentation, last
module functions

* Apply changes requested by @wdanilo
2019-11-27 00:48:35 +01:00
Josef
9665150c5d
Enable Scalajs For Syntax (#329) 2019-11-26 14:02:50 +01:00
Maciej Mikołajek
05877a7d0c
Documentation Parser: Extended HTML Files Generator (#237)
* Update CSS

* Add some code - WIP

* recursive Documented HTML generation

* WIP - Better documentation, better code, better test

* documentation wip

* code complexity changes

* update  docs

* update docs

* move saving out of class

* move all html generator code to separate object

* Fix documentation

* Change example text

* 80 chars/ln

* Merge remote-tracking branch 'origin/master' into wip/mm/doc-parser-html-output

# Conflicts:
#	Syntax/specialization/src/main/scala/org/enso/syntax/text/Parser.scala

* Merge remote-tracking branch 'origin/master' into wip/mm/doc-parser-html-output

# Conflicts:
#	Syntax/specialization/src/main/scala/org/enso/syntax/text/Parser.scala

* just add example

* add sass

* minor fix

* cleanup

* rm unused func
2019-11-25 10:36:31 +01:00
Marcin Kostrzewa
85272edcb0
Graal upgrade to 19.3.0 (#350) 2019-11-22 16:38:31 +01:00
Michał Wawrzyniec Urbańczyk
e51a06e263
Initial Rust AST implementation (#348)
AST lives in `ast` package, that relies significantly on `ast-macros` to generate boilerplate.
Additional `macro-utils` library was split out from `shapely-macros` and `ast-macros`.

The implementation was contributed by @wdanilo , I basically just did some refactoring, documenting and testing.

### Important Notes
* AST is known to be incomplete structurally, finishing it is #336 
* AST is missing a number of necessary functions, some of them explicitly marked as FIXME in the code, finishing them is #338 
* while I have written some tests, they are not yet part of CI — I want to this smart way (i.e. allowing tests that rely on parser), it is tracked as #340 
* AST JSON serialization is incompatible with Scala, solving this is #297 
* there is some non-deterministic issue with CI on Windows — I need to look into this closer but it seems to not be related to any Rust parts
2019-11-22 15:21:18 +01:00
Ara Adkins
b91ab25fdb
Translate arith expressions using the new parser (#346) 2019-11-20 09:18:53 +00:00
Michał Wawrzyniec Urbańczyk
d1796345a4
The prelude library, coming from basegl, in preparation for AST. (#342) 2019-11-19 22:26:54 +01:00
Marcin Kostrzewa
427e784663
Repl & Debugger (#345) 2019-11-19 16:16:58 +01:00
Wojciech Daniło
9f3fda1b42
Update rust-style-guide.md 2019-11-18 22:03:15 +01:00
Marcin Kostrzewa
51d66cdef6
Jupyter bindings (#335) 2019-11-18 14:36:03 +01:00
Michał Wawrzyniec Urbańczyk
6078b54f50
Wrapping parser for Rust (#325)
* deriving JSON Encoder for Scala AST types
* websocket-based Parser Service
* wrapper for Parser in Rust that includes client for Parser Service
2019-11-18 14:12:16 +01:00
Ara Adkins
112f0c6c39
Add build status icon to readme 2019-11-18 11:28:01 +00:00
Ara Adkins
22aa4efda8
Add a low-level graph library (#334) 2019-11-18 11:18:16 +00:00
Marcin Kostrzewa
0ec41b5bbd
String literals, caller frame access, eval function (#333) 2019-11-15 15:49:57 +01:00
Josef
8da25bec2d
Text AST Reimplementation. (#327) 2019-11-14 13:55:45 +01:00
Marcin Kostrzewa
3929b3f72c
Implement call strategy controls and a functional if statement. (#328) 2019-11-13 12:27:52 +01:00
Ara Adkins
43f51e9dac
Revert "Init AST impl"
This reverts commit bc410b6d52.
2019-11-12 12:57:39 +00:00
Wojciech Danilo
bc410b6d52 Init AST impl 2019-11-12 13:47:02 +01:00
Ara Adkins
bfe81a731f
Reorganise repo for further development (#308) 2019-11-08 17:32:48 +00:00
Ara Adkins
460205c2b9
Integrate a compilation phase into the interpreter (#303) 2019-11-07 12:10:21 +00:00
Marcin Kostrzewa
2d81b111b7
CI artifact with the CLI fat jar (#272) 2019-11-05 20:01:09 +01:00
Marcin Kostrzewa
7bc95473f5
State monad (#270) 2019-11-05 17:01:50 +01:00
Marcin Kostrzewa
cc389fd8e6
Fat Jar distribution (#271) 2019-11-05 15:12:33 +01:00
Michał Wawrzyniec Urbańczyk
7f242e2327
Set "-encoding UTF-8" for javac. (#268)
Set "-encoding UTF-8" options for javac. Without it compilation fails on platforms where javac defaults to other encoding, like most of Windows that default to whatever code page is active in the system.
2019-11-05 00:22:49 +01:00
Josef
59bcabeb21
Remove Runtime Reflection In Parser. (#267) 2019-10-31 14:50:27 +01:00
Ara Adkins
3961738c15
Update CONTRIBUTING.md with build instructions (#265) 2019-10-30 09:58:20 +00:00
Marcin Kostrzewa
7bb2202774
Error Handling (#263) 2019-10-29 15:32:50 +01:00
Marcin Kostrzewa
c646be4820 Include relevant resources for native-image generation (#262) 2019-10-28 11:46:24 +00:00
Marcin Kostrzewa
698a9425ab
Methods on Any type and pattern matches on arbitrary values (#259) 2019-10-24 16:15:50 +02:00
Marcin Kostrzewa
6569cc5cb0
Better way of registering builtin functions (#255) 2019-10-23 16:18:27 +02:00
Josef
3c4fd0c55b
Use Strongly-Typed Indexes / Offsets (#238) 2019-10-22 16:33:37 +02:00
Marcin Kostrzewa
69da76bdfd
Definition Site Argument Laziness (#251) 2019-10-21 18:19:25 +02:00
Wojciech Daniło
a5485a49b7 Fix bug with operator section parsing (#243) 2019-10-17 20:13:41 +01:00
Marcin Kostrzewa
ca3773b97e Fix incremental compilation for parser (#248) 2019-10-17 17:34:08 +01:00
Ara Adkins
2da7442ae2
Bump SBT and GraalVM versions (#247) 2019-10-17 10:07:47 +01:00
Ara Adkins
eea14f313a
Update PULL_REQUEST_TEMPLATE.md (#240) 2019-10-14 11:19:37 +01:00
Josef
c3ded49f62
Implement IDMap with Seq. (#211) 2019-10-10 08:59:08 +02:00
Josef
c973adfab8
Fix bug in text parsing (#236) 2019-10-08 13:26:32 +02:00
Ara Adkins
261660abac Update style guides around complexity (#213) 2019-10-02 21:07:29 +02:00
Josef
4c779df5af
Make it possible to retrieve map of IDs from AST. (#196) 2019-10-01 14:16:50 +02:00
Josef
90073e968c
Offset Implementation for Text and Block (#188) 2019-10-01 12:03:04 +02:00
Ara Adkins
59a4c2757a
Create comparative benchmarks (#205) 2019-09-30 16:14:42 +01:00
Ara Adkins
b8036384d6
Bump the sbt and scala versions (#198)
This PR also updates the style guides.
2019-09-27 14:55:58 +01:00
Maciej Mikołajek
71508d811e Improve the integration of the doc parser (#182) 2019-09-26 13:29:59 +01:00
Josef
48e016f515
ast pool implementation (#184) 2019-09-26 10:06:25 +02:00
Ara Adkins
6e9c557682
Bump the GraalVM version and fix CI (#195) 2019-09-25 17:49:43 +01:00